Well, I tried it on Win98 and it works as expected. Based on your usage (no perl, just the program name), I'd say you are running Windows NT, 2k or XP.
Perhaps the OS is not passing the -? to the perl program... When you run wd.pl -?, what does it print for $cmd?
update: switched order of last question around to improve readability.
In reply to Re: system'ing a gui app
by Mr. Muskrat
in thread system'ing a gui app
by xafwodahs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |