in reply to Inappropriate ioctl for device error on system call
Would something likeRETURN VALUE Enscript returns value 1 to the shell if any errors were encountered. On successfull termination, the return code is constucted from the following flags: 0 no errors or warnings 2 some lines were truncated or wrapped 4 some characters were missing from the used fonts 8 some characters were unprintable
Work?system("/bin/somecommand") < 9 or die "Somecommand failed $!, $?";
Neil Watson
watson-wilson.ca
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Inappropriate ioctl for device error on system call
by sgifford (Prior) on Dec 20, 2006 at 06:41 UTC |