Link to home
Start Free TrialLog in
Avatar of MzHanssen
MzHanssenFlag for Belgium

asked on

Execute commands from a text file

Hello,
I'm stucked with a very simple piece of code.
I need to read commands from a text file and execute them.
Between each command I want to test if it succeeded by checking its return code.
The commands are shell scripts with one or more arguments.
Thank you
ASKER CERTIFIED SOLUTION
Avatar of omarfarid
omarfarid
Flag of United Arab Emirates image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial