Re: Pipe and Par questions
- From: Jürgen Exner <jurgenex@xxxxxxxxxxx>
- Date: Mon, 28 Apr 2008 22:42:39 GMT
"E.D.G." <edgrsprj@xxxxxxxxxxxxx> wrote:
[...]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
.
- Follow-Ups:
- Re: Pipe and Par questions
- From: E.D.G.
- Re: Pipe and Par questions
- References:
- Pipe and Par questions
- From: E.D.G.
- Pipe and Par questions
- Prev by Date: Pipe and Par questions
- Next by Date: Re: Extracting a table from a webpage
- Previous by thread: Re: Pipe and Par questions
- Next by thread: Re: Pipe and Par questions
- Index(es):
Relevant Pages
|