http://qs321.pair.com?node_id=603871


in reply to Re: open a browser from the command line, wait a few seconds, and shut it. (ie, translate forking from bash to perl)
in thread open a browser from the command line, wait a few seconds, and shut it. (ie, translate forking from bash to perl)

Neither of these snippets behaves like the bash snippet, though.

Konqueror is opened, but then not shut.

  • Comment on Re^2: open a browser from the command line, wait a few seconds, and shut it. (ie, translate forking from bash to perl)

Replies are listed 'Best First'.
Re^3: open a browser from the command line, wait a few seconds, and shut it. (ie, translate forking from bash to perl)
by Fletch (Bishop) on Mar 08, 2007 at 18:43 UTC

    Flip the order of the arguments to kill, kill( TERM => $pid ) (/msg'd ikegami about this as well).