Running another program in current program
From: Durai (tech_durai_at_yahoo.com)
Date: 04/29/04
- Next message: Zikester: "Checking for keyboard input without halting process"
- Previous message: John W. Krahn: "Re: Help ME! --> Alas - Backreferences are Lexically scoped"
- Next in thread: Durai: "Re: Running another program in current program"
- Maybe reply: Durai: "Re: Running another program in current program"
- Maybe reply: Durai: "Re: Running another program in current program"
- Maybe reply: Durai: "Re: Running another program in current program"
- Reply: James Edward Gray II: "Re: Running another program in current program"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: <beginners@perl.org> Date: Thu, 29 Apr 2004 15:38:26 +0530
Hello All,
In shell script file, I can call another program & checked the exit status.
Like:
./prog2
if [ $? -ne 0 ]
then
echo "Error"
exit
fi
How to do in perl?
ANy help much appreciated.
Regs,
Durai.
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.665 / Virus Database: 428 - Release Date: 4/21/2004
- Next message: Zikester: "Checking for keyboard input without halting process"
- Previous message: John W. Krahn: "Re: Help ME! --> Alas - Backreferences are Lexically scoped"
- Next in thread: Durai: "Re: Running another program in current program"
- Maybe reply: Durai: "Re: Running another program in current program"
- Maybe reply: Durai: "Re: Running another program in current program"
- Maybe reply: Durai: "Re: Running another program in current program"
- Reply: James Edward Gray II: "Re: Running another program in current program"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|