Re: Quoting arguments for an exec

2004-01-16 Thread Peter Reilly
Just try to use a single " as follows: from the command line the ' in your example will be dropped by the shell before reaching the cleartool. Peter [EMAIL PROTECTED] wrote: Hi, I'm trying to run a ClearCase command (cleartool mkattr), and I'm using the Commandline class to build the argument

Quoting arguments for an exec

2004-01-16 Thread [EMAIL PROTECTED]
Hi, I'm trying to run a ClearCase command (cleartool mkattr), and I'm using the Commandline class to build the arguments. There is one argument that needs to have both single and double quotes around it to make sure it's passed to cleartool properly. On Unix: cleartool mkattr TestAttr '"test valu