We don't bite newbies here... much | |
PerlMonks |
system("start $command") in Win32by bhardage (Initiate) |
on Feb 01, 2008 at 21:01 UTC ( [id://665651]=perlquestion: print w/replies, xml ) | Need Help?? |
bhardage has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to run a GUI testing program using Perl in Cygwin on my Windows XP. One of the lines in my example code is as follows: system("start calc.exe"); As I understand it, this is how you start an application and get the Perl script to continue running (I obviously need this functionality to be able to test the application) in a Win32 system, but it's generating an error. I get the 'cannot execute "start": No such file or directory' error. Any ideas on what I'm doing wrong? If worse comes to worse I'll look for a new module that allows background processes, but I thought I'd be able to do it this way. Could someone correct me please?
Back to
Seekers of Perl Wisdom
|
|