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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

EXIT cmd and returning a Shell Script Code

Status
Not open for further replies.

SenMerc

MIS
Jun 9, 2005
12
US
Hi,

Anyone aware of a way to kick off a Unix shell script (which will provide a return value, similiar to a function call) from within a map rule?

I had tried this using the following rule without any luck:

=TEXT(EXIT("'shellscript'"," ", " "))

The shell script is actually returning a numeric return code every time it runs, but the output of this field in the map is blank.

Appreciate any/all assistance,

Thanks,
 
Don't use the exit function, just use a get(shell()) etc. command. Don't need the TEXT either.



BocaBurger
<===========================||////////////////|0
The pen is mightier than the sword, but the sword hurts more!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top