in reply to Re: run in-program shell script under windows using cygwin
in thread run in-program shell script under windows using cygwin
I was also surprised ...
Why?
$ perl -V:sh sh='cmd /x /c';
Unless your cygwin perl hash something bash in there, cmd.exe is your shell
My *cygwin*alike* has
$ C:\citrusperl\mingw\msys\bin\perl -V:sh sh='/bin/sh';
So even if *my*cygwin*alike* has got /bin/sh , it won't work when calling perl from cmd.exe, only from the bash itself ... in actual cygwin that might get resolved (if cygwin perl is linked to cygwin dll) but it depends on the perl being called
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: run in-program shell script under windows using cygwin
by Anonymous Monk on Jul 30, 2014 at 19:02 UTC | |
|
Re^3: run in-program shell script under windows using cygwin
by Laurent_R (Canon) on Jul 30, 2014 at 19:05 UTC | |
by Anonymous Monk on Jul 31, 2014 at 08:37 UTC | |
by Laurent_R (Canon) on Jul 31, 2014 at 18:00 UTC | |
|
Re^3: run in-program shell script under windows using cygwin
by sandy105 (Scribe) on Jul 31, 2014 at 08:07 UTC | |
by Anonymous Monk on Jul 31, 2014 at 08:34 UTC |