I prefer escape characters (\") and Q delimiters (%Q) to entity codes (").*option 2 provided by Martin
For example, executing an external program where the 1st parameter needs to be in quotes but not the second.
Rake (option 1):exec "foo.exe \"some text\" bar"
Rake (option 2)*:exec %Q[foo.exe "some text" bar]
NAnt:<exec program="foo.exe" commandline=""some text" bar"/>
Friday, January 06, 2006
I prefer Rake to NAnt (#1)
While working with Rake and NAnt I've found several reasons I prefer Rake. And, I've received several requests for a pro/con list concerning Rake. So, I'm going to start keeping a list. Here's reason #1.
Subscribe to:
Post Comments (Atom)