in reply to Re^3: How to terminate a childprocess by press Ctrl_c
in thread How to terminate a childprocess by press Ctrl_c

This node falls below the community's threshold of quality. You may see it by logging in.
  • Comment on Re^4: How to terminate a childprocess by press Ctrl_c

Replies are listed 'Best First'.
Re^5: How to terminate a childprocess by press Ctrl_c
by holli (Abbot) on Oct 25, 2007 at 16:53 UTC
    Two ways: open a shell, navigate to the script and type
    #holli> perl scriptname
    or put the following line on the very top of your script:
    #!/path/to/perl
    and make the script executable with chmod. see more on this in perlrun.


    holli, /regexed monk/
    A reply falls below the community's threshold of quality. You may see it by logging in.