[328] in Coldmud discussion meeting

root meeting help first previous next last

run_script() error with args?

daemon@ATHENA.MIT.EDU (Wed May 25 08:06:43 1994 )

From: BRANDON@cc.usu.edu
Date: Wed, 25 May 1994 06:04:20 -0600 (MDT)
To: coldstuff@MIT.EDU
X-Vms-To: COLDSTUFF

Run script seems to work ok, unless I send arguments.  Here is how I'm calling
it:

run_script("backup.sh", ["/path/argument", "/usu/bin/gzip"])

it is tossing a "failed to EXEC "scripts/backups.sh", bad address."

It works fine if I leave out the args.

This brings something else to mind.  What is the "root" directory in it's
environment?  Does it run backups.sh from scripts (so I would do somethign
along the lines of 'mv ../textdump' or does it do it from where it dumps the
textdump?