https://bugzilla.wikimedia.org/show_bug.cgi?id=72092

Marc A. Pelletier <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #2 from Marc A. Pelletier <[email protected]> ---
The problem is that gridengine will perform an arbitrary, and sometimes
variable, number of shell substitutions over the commandline, making the use of
quotes or escapes (in any combination) on the command line problematic at the
best of times.  This problem is fundamental to gridengine.

Sometimes, double quoting or escaping internal quotes can solve the issue for a
specific set of command line values, but this varies and is sometimes hard to
predict (for instance, the presence of some shell metacharacter within the
/quoted/ string causes gridengine to invoke an extra '/bin/sh -c' at the remote
end, stripping one level of extra quoting).

The only reliable ways to circumvent that issue are to either (a) create a
small shell script that contains the final invocation with adequate quoting,
and invoke /that/ through jsub/qsub instead, or (b) pass arguments to the job
in some other manner than the command line (if pywikibot can accept arguments
from a file, for instance, this could be used instead).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to