Using pbs_py_spawn
Usage: pbs_py_spawn [OPTION] <path> <args> ### what does it do?
Run a py_spawn command ### where is py_spawn described?
Options to pbs_py_spawn
-e <environment>
Comma-separated list of environment options.
-j <job ID>
Job ID to which the spawned process is run ### "to which" ?
-l <log level>
Logging level. Can be one of DEBUG, INFO, ERROR, FATAL, WARNING.
Default is ERROR.
-t <hostname>
Target hostname to operate on.
--detach
If set, run Python script in background.
--wrapper=<path>
Optional path to wrapper script, to use with --detach option.
--version
Print version number and exit.