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

Michael Wilde wilde at mcs.anl.gov
Thu Nov 8 12:20:28 CST 2007


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.



More information about the Swift-user mailing list