you can chdir to $output before you do your system call.
if you save your current workdir (Cwd - getcwd) before that chdir, you can chdir back to the previous workdir afterwards, if necessary.
update: minor text changes, so it is (hopefully) more precise
In reply to Re^3: system() - output folder?
by linuxer
in thread system() - output folder?
by lil_v
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |