|
|
| Don't ask to ask, just ask | |
| PerlMonks |
Re^3: No command window output when running scriptby syphilis (Canon) |
| on Dec 29, 2012 at 23:26 UTC ( #1010859=note: print w/ replies, xml ) | Need Help?? |
|
Cd doesn't return a value so nothing is output with this example Perhaps you're running in a different shell (I use cmd.exe), or perhaps your cmd.exe shell finds a different 'cd' implementation to run. To force your cmd.exe shell to use its own implementation, I think you just need to involve a shell metacharacter in the command - eg: Does that command print out the current directory for you ? (Admittedly this has nothing to do with the subject you initially raised ... but I find it a little bit interesting.) Cheers, Rob
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||