diff options
author | Mattias Andrée <maandree@member.fsf.org> | 2015-12-31 23:45:15 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@member.fsf.org> | 2015-12-31 23:45:15 +0100 |
commit | 2edfa688d51080305a7c300bc10e4649bc5f484e (patch) | |
tree | d12a839c87aea5ff322feefb50a19d0ad8b31e6d /doc/man | |
parent | m (diff) | |
download | sat-2edfa688d51080305a7c300bc10e4649bc5f484e.tar.gz sat-2edfa688d51080305a7c300bc10e4649bc5f484e.tar.bz2 sat-2edfa688d51080305a7c300bc10e4649bc5f484e.tar.xz |
preserve working directory
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to '')
-rw-r--r-- | doc/man/sat.1 | 12 | ||||
-rw-r--r-- | doc/man/satq.1 | 6 |
2 files changed, 16 insertions, 2 deletions
diff --git a/doc/man/sat.1 b/doc/man/sat.1 index 77b1d77..93854b6 100644 --- a/doc/man/sat.1 +++ b/doc/man/sat.1 @@ -22,9 +22,17 @@ unless it is already running, and queue a specified to be executed at a selected .IR TIME . The job shall be executed with the same environment -variables as +variables and the same working directory (by +pathname) as .BR sat (1) -had when the job was queued. +had when the job was queued. However, if there is no +directory will the pathname matching the working +directory, when the job executes, the working directory +will be /, or whatever the working directory of +.BR satd (1) +(if +.BR satd (1) +is running in the foreground.) .PP The .I TIME diff --git a/doc/man/satq.1 b/doc/man/satq.1 index 630b5a2..082a7ac 100644 --- a/doc/man/satq.1 +++ b/doc/man/satq.1 @@ -17,6 +17,7 @@ indented. The output for each job is formatted .nf job: \fIJOB-ID\fP clock: \fICLOCK\fP argc: \fIARGC\fP remaining: \fIREM\fP argv[0]: \fIARGV0\fP time: \fITIME\fP + wdir: \fIWDIR\fP argv: \fIARGV\fP envp: \fIENVP\fP .fi @@ -75,6 +76,11 @@ it is formatted .IB YEAR - MM - DD \ HH : MM : SS in 24-hour clock, local time. .TP +.I WDIR +is the working directory the job will have. However, +if that directory one longer exists, its working +directory will be /. +.TP .I ARGV is all arguments in the job's command line, including .IR ARGV0 . |