![]() |
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 |
| C Shell Script query | bpupdown | Shell Programming and Scripting | 1 | 05-13-2008 07:38 PM |
| shell script related query | gopsman | Shell Programming and Scripting | 1 | 12-03-2007 12:50 AM |
| executing a SQL query in shell script | lijju.mathew | Shell Programming and Scripting | 1 | 05-17-2007 11:29 AM |
| Executing Sql Query Using Shell Script | ragha81 | Shell Programming and Scripting | 14 | 07-31-2006 02:15 PM |
| Executing a SQL query from a shell script | 98_1LE | UNIX for Dummies Questions & Answers | 3 | 03-23-2002 03:29 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Hello people,
I am new to shell scripting and hoping to get a quick answer to my query. I am writing a simple script which needs to call an executale which generates an output file. Once the output file is generated I have to do a couple of more task with that file. The executable ideally takes 2 to 3 minutes to finish execution. My question is - Should I call the executable & once done look for the output file to do the next steps. Or - Should I run the executable as a backgound process using "&" and then have a loop which will keep checking whether the output file is generated. Is there any drawbacks with following either of these approaches. Any inputs would be highly appreciated. Regards, Tipsy |
|
||||
|
If you need the complete output file, just run the executable in the foreground. So much simpler.
|
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|