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

The official Perl documentation can tell you more: system, exec, qx, do.

Why don't you tell us more about what you need?

  • Comment on Re^3: Executing one script from another

Replies are listed 'Best First'.
Re^4: Executing one script from another
by mithun_rh (Initiate) on Nov 11, 2010 at 11:46 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.