Hi,

If I try:
print(exec 'notepad');

It prints "0" to the console. I'm not sure if it's an error code or if
it is the return value of the program, if it's the return value, it's
the good one.

But I got some qx instruction hanging only on my machine. So I'm
starting to think that my machine got some problem maybe hardware and/or
memory problem.

Thanks
Francis

-----Original Message-----
From: $Bill Luebkert [mailto:[EMAIL PROTECTED] 
Sent: 21 mars 2006 18:58
To: Francis Paulin
Cc: [email protected]
Subject: Re: exec broken?

Francis Paulin wrote:

> Hi,
> 
> I'm having a problem using exec perl function.
> I run on Windows XP Pro SP2.
> 
> This simple statement: exec 'notepad'; is not working on my machine
> I tried it with ActivePerl 5.8.7 build 813.
> I desinstall Perl, reboot, install ActivePerl 5.8.8 build 816.
> Try the command again, it failed.
> 
> I tried on another machine having Windows XP ActivePerl 5.8.7 build
813
> and it work, so I guess it's maybe a registry key or security issue.
> Does anyone did get that kind of problem

What error indication are you getting ?

Does the exec return a failure code ?

_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to