Changeset 3538 for trunk/gsdl/bin/script/gsConvert.pl
- Timestamp:
- 2002-11-14T22:22:25+13:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/bin/script/gsConvert.pl
r3400 r3538 75 75 76 76 my $faillogfile=""; 77 my $timeout=0; 77 78 78 79 sub main 79 80 { 80 81 my (@ARGV) = @_; 81 my ($input_type,$output_type,$verbose,$timeout); 82 83 $timeout = 0; 82 my ($input_type,$output_type,$verbose); 83 84 84 # read command-line arguments 85 85 if (!parsargv::parse(\@ARGV, … … 761 761 762 762 } else { 763 my $cmd = "gs -q -dNODISPLAY -dNOBIND -dWRITESYSTEMDICT -dSIMPLE -c save "; 763 my $cmd = ""; 764 if ($timeout) {$cmd = "ulimit -t $timeout; ";} 765 $cmd .= "gs -q -dNODISPLAY -dNOBIND -dWRITESYSTEMDICT -dSIMPLE -c save "; 764 766 $cmd .= "-f ps2ascii.ps \"$input_filename\" -c quit > \"$output_filestem.text\""; 765 767 $cmd .= " 2> $output_filestem.err";
Note:
See TracChangeset
for help on using the changeset viewer.