Declare a job (see also PJ and J).
- Arguments
args
- Description
- Mnemonic for 'Tool'
- Declares a job where the associated capsule (if it exists) is NOT used
at build time. This procedure is identical to J,
except that J does search for corresponding capsule.
The arguments form the command line for a new job to be added to the
trace. Environment and working directory for the job are taken from the
current settings. If an identical job already exists in the trace,
nothing happens. The procedure returns the VovId of the job. The status
of a newly created job is always INVALID.
- If the procedure is passed multiple arguments, each argument is quoted
if necessary. If the procedure is passed a single list, all elements in
the list are "join'ed" together with spaces.
- Example
-
set list { aa bb }
T vw cp aa bb; # Many arguments
T "vw cp $list"; # One argument
T vw vdc_shell -f adder.dcsh
T vw cat xx.v yy.v zz.v > bigfile.v
T vw echo "ciao bello"