in reply to Re^2: Perl on cygwin (sh -c)
in thread Perl on cygwin
Yes, it does save one process besides being shorter. Still it could give wrong results if cd fails. A true shell hacker ;) would write system('cd ... && ls') (would even use 'ls -1' to avoid terminal issues).
cheers --stephan
|
|---|