in reply to Re: Re: Re: Re: system call in an CGI perl script, fails on Windows XP
in thread system call in an CGI perl script, fails on Windows XP

I would reccoment using the start command like this

my $rv = system("cmd /c START C:\\YourPath\\Here\\t.pl"); Then just make sure the registry associates the file type with the perl interpreter.

To set your file association in WindowsXP
  1. Open Windows Explorer
  2. Choose Tools->Folder Options
  3. Select the File Types tab
  4. Check for an entry with Extension PL
  5. if(exists($entry)) { $double_check_association = 1; } else(!exists($entry)) { $add_new_entry = 1; }
  6. To add a new association click the "New" button, Enter the extension and then choose the program that should open it