Hi,
We are calling one shellScript stored in param InputArg1 using "Call 'DSU.ExecSH'(InputArg1, result1) " , The shell will exit with different set of exit codes such as 5,4 and i have to capture the return codes and act accordingly.But the "result1" is always having 0 or 1.Will you please help me on how to capture the return codes from the shell.
Is it possible to capture the UNIX exit code from DS
Moderators: chulett, rschirm, roy
Is it possible to capture the UNIX exit code from DS
With Love,
«·´`·.(*·.¸(`·.¸ ¸.·´)¸.·*).·´`·»
«.......>>>> Siva.G<<<<......»
«·´`·.(¸.·*(¸.·´ `·.¸)*·.¸).·´`·»
«·´`·.(*·.¸(`·.¸ ¸.·´)¸.·*).·´`·»
«.......>>>> Siva.G<<<<......»
«·´`·.(¸.·*(¸.·´ `·.¸)*·.¸).·´`·»
I suggest you look at the code for ExecSH and copy it to a new Routine, modify it to behave as you desire, and then use your new one.
Kenneth Bland
Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: