[Swift-devel] Problem calling atomic procedure with multiple args via Falkon

Mihael Hategan hategan at mcs.anl.gov
Mon Apr 7 03:14:23 CDT 2008


> The problem seems to stem from this arg:
> 
> -if mol-1M/8269/058269.in|mol-1M/8269/058269.mol2

I'd say the problem stems from improper passing of the arguments by some
layer somewhere.

> 
> The value after the -if arg needs to be in quotes to shield it from the 
> shell, as falkon takes the string and involves wrapper.sh using 
> system().

...presumably by concatenating the arguments into a single string and
hoping system() will split them correctly. Falkon should use execve().

>  The IFS char "|" is causing the cmd to end there.
> 
> Its not clear if the arg is not quoted because in other providers its 
> somehow shielded from shell evaluation, or if Falkon or the deef 
> provider is pulling off the quotes.
> 
> Can anyone spot where the problem is?
> _______________________________________________
> Swift-devel mailing list
> Swift-devel at ci.uchicago.edu
> http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel
> 




More information about the Swift-devel mailing list