Perl-Sensitive Sunglasses | |
PerlMonks |
Re: waitpid on Win32 ... wait foreverby december (Pilgrim) |
on May 08, 2009 at 08:07 UTC ( [id://762770]=note: print w/replies, xml ) | Need Help?? |
I haven't been using Windows for over 10 years so I'm not entirely sure, but it might be possible that "cd" isn't an actual command but some sort of built-in shell function in command.com or whatever Windows uses these days. So maybe you get no PID at all, or the PID of the parent (the shell)? Either way, "cd" might be a special case. Unless this really is what you want to do, I suggest you try using some other command.
In Section
Seekers of Perl Wisdom
|
|