@@ -58,13 +58,23 @@ Output files produced by tool execution must be written to the **designated
5858output directory** . The initial current working directory when executing
5959the tool must be the designated output directory.
6060
61- Files may also be written to the ** designated temporary directory** . Any
62- files written to the designated temporary directory may be deleted by the
63- workflow platform immediately after the tool terminates.
61+ Files may also be written to the ** designated temporary directory** . This
62+ directory must be isolated and not shared with other processes. Any files
63+ written to the designated temporary directory may be automatically deleted by
64+ the workflow platform immediately after the tool terminates.
65+
66+ For compatibility, files may be written to the ** system temporary directory**
67+ which must be located at ` /tmp ` . Because the system temporary directory may be
68+ shared with other processes on the system, files placed in the system temporary
69+ directory are not guaranteed to be deleted automatically. Correct tools must
70+ clean up temporary files written to the system temporary directory. A tool
71+ must not use the system temporary directory as a backchannel communication with
72+ other tools. It is valid for the system temporary directory to be the same as
73+ the designated temporary directory.
6474
6575When executing the tool, the tool must execute in a new, empty environment
6676with only the environment variables described below; the child process must
67- not inherit environment variables from the parent process except where
77+ not inherit environment variables from the parent process except as
6878specified or at user option.
6979
7080 * ` HOME ` must be set to the designated output directory.
@@ -77,10 +87,10 @@ specified or at user option.
7787 [ DockerRequirement] ( #DockerRequirement )
7888
7989An implementation may forbid the tool from writing to any location in the
80- runtime environment file system other than the designated temporary
81- directory and designated output directory. An implementation may provide
82- read-only input files, and disallow in-place update of input files. The
83- designated temporary directory and designated output directory may reside
90+ runtime environment file system other than the designated temporary directory,
91+ system temporary directory, and designated output directory. An implementation
92+ may provide read-only input files, and disallow in-place update of input files.
93+ The designated temporary directory and designated output directory may reside
8494on different mount points on different file systems.
8595
8696The ` runtime ` section available in [ parameter references] ( #Parameter_references )
0 commit comments