![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Passing a variable from a child script back to the parent | Andy82 | Shell Programming and Scripting | 3 | 05-26-2008 09:52 PM |
| Parent/child Korn shell script help | sasaliasim | Shell Programming and Scripting | 1 | 05-06-2008 05:09 PM |
| Can a child process return a specific value to a parent process ? | Ametis1970 | High Level Programming | 8 | 04-09-2008 11:22 PM |
| Terminating child script with terminating the parent script | mervin2006 | UNIX for Dummies Questions & Answers | 2 | 05-02-2007 07:54 AM |
| How to know parent script name from child script | raki | Shell Programming and Scripting | 2 | 06-05-2006 08:01 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Hi,
I am trying to return a value from child script to a parent script just as a function does. The child script will look for a file and if exists will return 1 else 0. I need to capture the status 1 from child script in the parent script and proceed further. if 0, i need not do anything. Any suggestions on how this can be achieved? Thanks in adv |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|