Re: Pipe and Par questions




"Jürgen Exne> 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.


Windows XP has a DOS start.exe command available. And I have been using it
successfully with Perl for quite a while. I could not find that program
anywhere in Windows Vista. Instead it has a "Run.lnk" command that will
work if you also use the SendKeys command with it. Things are more
complicated. But it does get the job done fast and without any screens
flashing.

Are you trying to control the other program from you Perl program? Then
you may want to check out Expect.

Yes. I would like Perl to send commands and data directly to another
program. I had not heard of an "Expect" command but will check on it.


.



Relevant Pages

  • Thanks for the comments Jan. 25, 2006
    ... "shadow" operating system which is running behind Windows. ... Perl can then collect data from that program and do ... that by sending longer strings etc. to the Windows clipboard and then having ... SendKeysuse a Ctrl V command to paste the information to the text editor ...
    (comp.lang.perl.misc)
  • Re: executing from command line
    ... if fact it's a way to run a command remotely. ... >> I have a perl script that i would like to run it on a windows server. ... >opening up a security hole on the remote machine when you do this. ...
    (comp.lang.perl.misc)
  • RE: re-setting boot partition
    ... Description of the Windows 2000 Recovery Console ... For a Microsoft Windows XP version of this article, ... MB of hard disk space on your system partition to hold the Cmdcons folder ... Windows NTBoot Console Command Interpreter. ...
    (microsoft.public.win2000.setup_upgrade)
  • Re: perl in Windows: using the "Send To" folder and perl
    ... this is not strictly a Perl question but ... ... > marked are supplied on the command line to the executable i.e. ... > I create my executable by writing a .bat file which in turn supplies ... You do not mention which Windows command shell you are using. ...
    (comp.lang.perl.misc)
  • Re: 500 Cant connect to search.cpan.org:80 (Bad protocol tcp) at web.plline 24.
    ... :>I beg to differ... ... be interpreted as an internal Perl command or a shell one). ... : of Windows APIs capabilities. ...
    (comp.lang.perl.misc)