in reply to Why can't I start up lynx with these arguments?
The & in the exec'd line is causing the lynx process to background itself, thus giving you the defunct lynx process.$search .= "&btnG=Google+Search";
To stop the process from being backgrounded, double-escape the & symbol. (Once to escape the & for the shell, and once for perl itself to pass the \ through to the shell).
JP$search .= "\\&btnG=Google+Search";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Why can't I start up lynx with these arguments?
by Saint Aardvark (Acolyte) on Jul 26, 2001 at 19:18 UTC |