Computing.Net > Forums > Programming > Perl - Run command(s) in background

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Perl - Run command(s) in background

Reply to Message Icon

Name: Sumanth Sharma
Date: September 16, 2003 at 02:37:45 Pacific
OS: Windows 2000 Professional
CPU/Ram: P4 2.4GHz/512MB
Comment:

Hai friends,

Say i run some system command in perl like this

`c:\\My_folder\\My_programs\\my_app.exe`;
`c:\\winnt\\notepad.exe`;

Now my_app.exe could take 1 or two minustes to run. But irrespective of that I want to open notepad without having to wait for my_app.exe to run and complete.

MY QUESTION IS IS IT POSIBBLE TO RUN THESE PROCESSES(SYSTEM COMMANDS) IN THE BACKGROUND LIKE IN UNIX OR LINUX.

I.E IN LINUX ALL THAT I HAVE TO DO IS

`my_command &`;
The ampersand is used to run "my_command" as a background process.

HOW DO I ACHIEVE THE SAME IN WINDOWS IN MY PERL SCRIPT.

REGARDS,

SUMANTH



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Perl - Run command(s) in background

How to run c++ prog in background www.computing.net/answers/programming/how-to-run-c-prog-in-background/13790.html

Code that i can run in background www.computing.net/answers/programming/code-that-i-can-run-in-background/15677.html

How to run Borland's C++ compiler in XP www.computing.net/answers/programming/how-to-run-borlands-c-compiler-in-xp/451.html