Cygwin Recipes

From NovaOrdis Knowledge Base
Revision as of 01:01, 13 January 2016 by Ovidiu (talk | contribs) (Created page with "=Internal= * Cygwin =Detecting Cygwin from a Script= <pre> if [ "$OSTYPE" = "cygwin" ]; then ... fi </pre> =Handling Path with Spaces in Cygwin=...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Internal


Detecting Cygwin from a Script

    if [ "$OSTYPE" = "cygwin" ]; then
             ...
    fi

Handling Path with Spaces in Cygwin

        if [ "$OSTYPE" = "cygwin" ]; then
            java_executable=`cygpath "$java_executable"`
        fi

        "$java_executable" -version