in reply to Pass arguments
, directoryname/filename.log is not (directly) accessible to the script.file.pl update directoryname/error.txt directoryname/filename.txt >& d +irectoryname/filename.log
Given that your script knows its own PID ($$), you may be able to parse it [the full command line] from the process tree e.g. by parsing the output from ps -fp $$...
|
|---|