Overview:

Ticket will address a problem with execjob_launch hooks in PBS where a job's environment gets truncated if one of the environment variables has a newline (\n), comma (,), or single/double quotes appearing as values. The solution involves raw string handling of the job's Variable_List, which is used to populate a job's environment.  Currently, when jobs are submitted with the -V option and there are environment variables with special characters,  PBS already escapes the comma, single/double quotes in values by prefixing them with the backslash (\) in both Linux/Unix and Windows. However, with execjob_launch hooks enabled, this leads to a problem with Windows in that backslash is considered a legal pathname character. PP-668 implementation will use caret (^) as the escape character on Windows for the mentioned special characters. Note that the escape character itself will also get escaped, appearing as \\ under Linux/Unix and ^^ under Windows.

Interfaces:



Site Map

Developer Guide Pages