Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    How to call a shell script from another shell script

    Hi All

    I am new to Linux shell script development, and i am new to this forum.

    My question is regarding the Shell script development.

    The scenario description is as follows.

    I had a script with start method calls, in start method i call other shell script.

    How should i write the shell script in such way that .the child shell script should be running even the parent shell scripts dies/kill/stop.

    Please help me out in this type of scenario-2, since i am running out of time with this issue.


  2. #2
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    3rd rock from sun - Often seen near moon
    Did you tried starting child function as background process (&) ?
    First they ignore you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    FOSS India Award winning ext3fs Undelete tool Online Linux Terminal

  3. #3
    Hi Lakshmipathi

    I tried using the symblo &, but there is no use, when the parent process is killed/stopping/end simulteneously child process is also getting stopped.

    My concerns . i dont child process to stop. it has some conditions where it should get executed even parent process has stopped.


  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts