T
Tuxedo
In running an external process I would like to continue (or terminate) a
script depending on the output of the external process.
For example, if the process is to scale a very large image with
ImageMagick's convert, how can the script be made to continue after the
completion of the external system process, e.g. once ImageMagick's Fatal
Error exit code has returned 0:
system "convert -quality 80 -resize 500x600 giant.jpg small.jpg";
more stuff....
What are good ways to proceed with more stuff if/when the system command
has completed?
Tuxedo
script depending on the output of the external process.
For example, if the process is to scale a very large image with
ImageMagick's convert, how can the script be made to continue after the
completion of the external system process, e.g. once ImageMagick's Fatal
Error exit code has returned 0:
system "convert -quality 80 -resize 500x600 giant.jpg small.jpg";
more stuff....
What are good ways to proceed with more stuff if/when the system command
has completed?
Tuxedo