http://qs1969.pair.com?node_id=245600


in reply to Re: Viewing a PDF file from a Perl program
in thread Viewing a PDF file from a Perl program

Also, if you want to make sure that acroread doesn't send anything to STDOUT that might mess up your screen, take a look at Proc::Daemon::Init.

  • Comment on Re: Re: Viewing a PDF file from a Perl program

Replies are listed 'Best First'.
Re: Re: Re: Viewing a PDF file from a Perl program
by zengargoyle (Deacon) on Mar 25, 2003 at 04:18 UTC

    nope, Proc::Daemon::Init doesn't return to the parent after it is called, so you would still have to fork around it. it does have some nice code for fork-ing and close-ing all open handles so it's good to look at.