Try $app=path to perl And $suffix (bad choice of name, it's the arguments) as your Perl script path and arguments.
I think that will solve you. Untested, just a thought. kbg -----Original Message----- From: Norris, Joseph [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 19, 2002 10:15 AM To: Perl Admin (E-mail); Perl Win32 Users (E-mail) Subject: need a little something on windows ala Unix Group, I am using Win32::Spawn (or trying to) from a cgi script to run another script so that the user can carry on with what they are doing while my script runs off and does something. Here is my code and here is the error that I am getting - which I don't understand because I can find the script at the comand prompt. I am in windows 2000 box. - thanks. my ($suffix) = @_; my $pid; my $app = q!C:\web\cgi-bin\PhoneListUpdate\update_from_voicemail\disable_mailbox.p l!; if(!(Win32::Spawn($app, $suffix, $pid))){ die " could not spawn $app - $!"; } } could not spawn C:\web\cgi-bin\PhoneListUpdate\update_from_voicemail\disable_mailbox.pl - No such file or directory at c:\web\cgi-bin\PHONEL~1\mod.pl line 371. _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs _______________________________________________ Perl-Win32-Admin mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
