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

Ben Clifford benc at hawaga.org.uk
Thu Nov 8 13:08:43 CST 2007


or don't use strings, just like any other time in unix.

On Thu, 8 Nov 2007, Mihael Hategan wrote:

> On Thu, 2007-11-08 at 13:03 -0600, Mihael Hategan wrote:
> > 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.
> 
> Actually file an enhancement request with CoG to quote things when the
> condor job manager is used explicitly. Waiting for it to be fixed in
> GRAM 2 and then deployed on sites is silly.
> 
> Mihael
> 
> > 
> > > 
> > > > 
> > > > 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
> > > > 
> > > > 
> > > 
> > 
> > _______________________________________________
> > 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