Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify that cwd on p:os-exec is normalized with p:urify() #662

Merged
merged 1 commit into from
Feb 4, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions step-os/src/main/xml/specification.xml
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,12 @@ expanding references to environment variables).
error</glossterm> if the command cannot be run.</error>
</para>

<para>If <option>cwd</option> is specified, then the current working
directory is changed to the value of that option before execution
begins. <error code="C0034">It is a <glossterm>dynamic
<para>If the <option>cwd</option> option is specified, it identifies the directory
that will be the current working directory when execution begins.
To resolve variations in the syntax of directory specifications (“<literal>/tmp</literal>”
vs. “<literal>C:\tmp</literal>” vs “<literal>file:///c:/tmp</literal>”, for example), the value will be
normalized with the <function>p:urify</function> function.
<error code="C0034">It is a <glossterm>dynamic
error</glossterm> if the current working directory cannot be changed
to the value of the <option>cwd</option> option.</error>
<impl>If <option>cwd</option> is not
Expand Down