[Ilugc] EXPORT command in shell script not working

  • From: Noorul.Islam@xxxxxxxxxxx (Noorul Islam)
  • Date: Fri Aug 6 12:12:57 2004






i think u can try nohup to run the program in background. I think that wont
make the shell to exit


Noorul Islam Kamalmalmiyoda
Software Engineer
Caritor (India) Pvt. Ltd.
6/1, 6/2, Pycrofts Gardens Road, Nungambakkam
Chennai

------------------------------------------------------------------------
Remember ----> 'There is no "UNDO" in Real'
------------------------------------------------------------------------



-----ilugc-bounces@xxxxxxxxxxxxx wrote: -----

To: ilugc@xxxxxxxxxxxxx
From: "Harris Rahman" <Harris.Rahman@xxxxxxxxxxxxxxx>
Sent by: ilugc-bounces@xxxxxxxxxxxxx
Date: 08/06/2004 11:06AM
Subject: Re: [Ilugc] EXPORT command in shell script not working


Hi sridhar,

           I tried your suggestion , but the shell is getting closed after
executing the script.(That was quite valuble  i came to know of this
command "source") . But my shell script executes another executable

                 /home/harris/bin/igschk &
Could this be the culprit . Why should it close the shell . Is it because
iam putting the process in the background ?? .. Kindly help



Warm Regards
N.Harris ur rahman




                     Sridhar R
                     <sridharinfinity@        To:       Harris Rahman
                     <harris.rahman@xxxxxxxxxxxxxxx>
                     gmail.com>               cc:       ilugc@xxxxxxxxxxxxx
                                              Subject:  Re: [Ilugc] EXPORT
                     command in shell script not working
                     08/06/2004 10:52
                     AM






Harris Rahman <harris.rahman@xxxxxxxxxxxxxxx> wrote:


            [root@localhost /]   ./shell_script


bash$ source shell_script

--
Sridhar - http://www.cs.annauniv.edu/~rsridhar
Blog: http://www.livejournal.com/users/sridharinfinity

______________________________________________________________________






______________________________________________________________________
_______________________________________________
To unsubscribe, email ilugc-request@xxxxxxxxxxxxx with
"unsubscribe <password> address"
 in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Other related posts: