Functions for executing shell commands on the local operating system and other system-level operations.
exec( words, ... )
Each of the words
values is treated as a single
(possibly quoted) word in a shell command.
The first argument is the filename
(either a full pathname, or the name of a file on the current path)
of an executable file.
These values can be numeric, or strings, or something else, and
are converted automatically to string values.
words
(Object, one or more): one or more words composing a shell command;
first is command and others are argumentsexec("/home/mbt/bin/process_obj.py", OBJ_NAME)
exec("process_skycoords.py", RA, DEC)
exec("process_sphericalcoords.sh", RA, DEC, 1.0)
exec( line )
line
(String): command line to executeexec("do_stuff.py " + RA + " " + DEC)
sleepMillis( millis )
millis
(integer): number of milliseconds to waitsleep( secs )
secs
(integer): number of seconds to wait