in reply to PDF output to temp file
This statement does what you're describing:
`evince bill.pdf >> /home/administrator/temp_1`;
Although, I'm not sure that you've really described what you want to do. For instance, what is $rc for?
In any event, you should take a look at the documentation for the open function. Your code indicates that you don't really understand how this works: the first argument is a filehandle not the filename; the filename (possibly as a full pathname) goes where you have the administrator's home directory. You're likely to break something with code like this!
-- Ken
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: PDF output to temp file
by rovf (Priest) on Mar 22, 2012 at 09:10 UTC | |
by kcott (Archbishop) on Mar 22, 2012 at 11:16 UTC | |
by rovf (Priest) on Mar 22, 2012 at 14:23 UTC | |
by kcott (Archbishop) on Mar 22, 2012 at 22:17 UTC | |
|
Re^2: PDF output to temp file
by Anonymous Monk on Mar 22, 2012 at 09:06 UTC | |
by kcott (Archbishop) on Mar 22, 2012 at 10:49 UTC |