Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running other program in perl

Status
Not open for further replies.

ThePaper

Programmer
Mar 16, 2003
1
0
0
US
Hi

I need perl to call up other programs and basically halt till the external programs have completed the task. I tried using 'system', but perl does not seem to wait for the program to finish.

Thanks alot!
 
Include your execution in only ` ` which are back-tiks. The charcter on the same key as the tilda character.

In essence you would want:

`/path/to/other/program`;

no system function call at all.

That should work!
 
Ozzy,

Why are you advocating system() over backticks in M$?

Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top