in reply to Re: Executing one script from another
in thread Executing one script from another

This node falls below the community's threshold of quality. You may see it by logging in.
  • Comment on Re^2: Executing one script from another

Replies are listed 'Best First'.
Re^3: Executing one script from another
by moritz (Cardinal) on Nov 11, 2010 at 11:20 UTC
      There is one DB process , i want to kill it and its name is another.perl.I have written the script to kill the process. and i want the main program that is test.perl to kill another.perl in the middle of execution ,and test.perl must run even after another.perl is ended .

        You simply have to arrange for the assassin to recognize its own foot, so as not to shoot it off.   Every process has an id-number, or “pid,” and the loop that goes through shooting bullets must ignore its own pid, thus avoiding shooting itself.

Re^3: Executing one script from another
by JavaFan (Canon) on Nov 11, 2010 at 11:27 UTC
    $ perldoc -f system $ perldoc -f qx $ perldoc -f open $ perldoc -f exec $ perldoc -f do $ man peripc $ man perlopentut $ man perlop
    Please learn to help yourself. People have spend countless hours to write documentation. Read it instead of asking to be spoonfed the most trivial things.
Re^3: Executing one script from another
by marto (Cardinal) on Nov 11, 2010 at 11:29 UTC