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

Mihael Hategan hategan at mcs.anl.gov
Thu Nov 8 13:03:10 CST 2007


On Thu, 2007-11-08 at 18:56 +0000, Ben Clifford wrote:
> 
> On Thu, 8 Nov 2007, Mihael Hategan wrote:
> 
> > If you put the string in quotes it should work. One string is one
> > element in argv.
> 
> some of the GRAM2 jobmanagers don't deal with that - I know condor 
> doesn't. 

Don't use the condor job manager then.

> 
> > 
> > On Thu, 2007-11-08 at 12:20 -0600, 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
> > > 
> > 
> > _______________________________________________
> > 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