in reply to Viewing a PDF file from a Perl program
you don't give an OS, under Linux, both of these work.
system "acroread poe.pdf &"; # or (needs error checking) if (fork) { print "bye$/" } else { system acroread => "poe.pdf" }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Viewing a PDF file from a Perl program
by bronto (Priest) on Mar 24, 2003 at 09:24 UTC | |
by Courage (Parson) on Mar 24, 2003 at 11:03 UTC | |
by bronto (Priest) on Mar 24, 2003 at 11:55 UTC | |
by Anonymous Monk on Mar 24, 2003 at 13:31 UTC | |
by zengargoyle (Deacon) on Mar 25, 2003 at 01:36 UTC | |
|
Re: Re: Viewing a PDF file from a Perl program
by ehdonhon (Curate) on Mar 25, 2003 at 02:44 UTC | |
by zengargoyle (Deacon) on Mar 25, 2003 at 04:18 UTC | |
|
Forked Children Should Exit
by belden (Friar) on Mar 25, 2003 at 21:13 UTC |