Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I'v been bitten by this one more than once in Cygwin...

You have to quote paths containing spaces. The trick is to use Windows-style quotation for arguments going to cmd.exe and Unix-style quotation for arguments going to bash.exe or other Cygwin programs...

For example, from a bash session I'd try to invoke your Windows Scilab as :

/cygdrive/c/Program\ Files/scilab-6.0.1/bin/scilab -nw`

(note the backslash quoting the space in 'Program Files).

HTH,

I'v been bitten by this one more than once in Cygwin...

You have to quote paths containing spaces. The trick is to use Windows-style quotation for arguments going to cmd.exe and Unix-style quotation for arguments going to bash.exe or other Cygwin programs...

For example, from a bash session I'd try to invoke your Windows Scilab as :

/cygdrive/c/Program\ Files/scilab-6.0.1/bin/scilab -nw`

(note the backslash quoting the space in 'Program Files).

HTH,