Ok this is the code... it's only couple of lines calling the command line
program...
#!/usr/bin/perl -w
my $get_events = "get_events.exe --sensor machine1 --save
event.txt";
system($get_events);
print "This is the system result $?";
When I run the script from command line the value I get from the system call
is 0, which means that get_events executed fine.
Nothing happens though when I run the script through cgi... it just hungs
there... on the task manager i see get_events.exe running...
Thanks again!
-Lia-
-----Original Message-----
From: Ron Grabowski [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 02, 2001 11:08 AM
To: perl-win32-web@listserv. ActiveState. com (E-mail)
Subject: Re: problem running cli program from perl cgi script..
> Any ideas why this is happening? Is it a permission problem?
Its hard to tell without some source code. What does $! say? Are you
checking the return status of the system call?
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web
RE: problem running cli program from perl cgi script..
Schiza, Apostolia (ISS Atlanta) Tue, 02 Jan 2001 08:44:37 -0800
- problem running cli program from perl cgi ... Schiza, Apostolia (ISS Atlanta)
- Re: problem running cli program from ... Ron Grabowski
- RE: problem running cli program from ... Schiza, Apostolia (ISS Atlanta)
- RE: problem running cli program from ... Trevor Joerges
- RE: problem running cli program from ... Schiza, Apostolia (ISS Atlanta)
- RE: problem running cli program from ... Naftel, Bill S
