|
Posted by Jürgen Exner on April 28, 2008, 6:42 pm
Please log in for more thread options
>[...]It involved having Perl start other programs
>running using Vista.
>
>Windows Vista has a Run command that can be isolated with a little time and
>effort and then used with the System command to start other programs
>running. If System is used to start another program without the Run command
>on my computer then Perl appears to stop running until the other program
>ends.
Yes. That is the designed and expected behaviour of system(), which will
return only after the called program has terminated.
If you want the called program to run in the background, then you will
have to start it in the background. You can use the DOS "start" command
to do so on Windows. I have not heard fo a "run" command, thou.
>What needs to be done to get Perl 5.10 (and Vista) to send information and
>commands directly to a separate program?
Are you trying to control the other program from you Perl program? Then
you may want to check out Expect.
jue
|