[Swift-user] Passing strings with blanks to apps in swift

Ben Clifford benc at hawaga.org.uk
Thu Nov 8 12:29:29 CST 2007


My initial answer would be "don't do that". Almost anything in unix gets 
screwed by spaces. I know there are definitely problems in some places in 
the swift/globus stack with doing this.

On Thu, 8 Nov 2007, Michael Wilde wrote:

> In angle i need to pass a string of IDs as a single parameter to an
> application:
>   angle "7171717 76 76" --more stuff --here
> 
> Can you point me to an example of how to pass/quote this correctly, so that
> the command line is invoked exactly as above (in this case with argc=5, and
> argv[1]="7171717 76 76" ?
> 
> Thanks.
> _______________________________________________
> Swift-user mailing list
> Swift-user at ci.uchicago.edu
> http://mail.ci.uchicago.edu/mailman/listinfo/swift-user
> 
> 



More information about the Swift-user mailing list