Hi all,
How do I get the exit code from previous execute command. For examples
in TCL,
set r [catch {exec shellCommandFile} ]
in shellCommandFile, I have exit code like
#!/bin/sh
exit 60
How do I get that exit code ( 60 in this case ), from TCL program.
I am not talking about the errorCode but the exit code. Can some one up there to help me!
) Siva
How do I get the exit code from previous execute command. For examples
in TCL,
set r [catch {exec shellCommandFile} ]
in shellCommandFile, I have exit code like
#!/bin/sh
exit 60
How do I get that exit code ( 60 in this case ), from TCL program.
I am not talking about the errorCode but the exit code. Can some one up there to help me!
) Siva