ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject command line args on win with quotes / whitespaces
Date Wed, 17 May 2006 11:59:01 GMT
Hello List,

I have a problem I need to spawn a process with exec and need to pass it arguments  that contain

Finally I want my exec to spaw a process that behaves exactly like running the following command
in the command shell from D:\depot\InstallerDeliveries\Win\My Product\3.0.0:
"C:\Program Files\InstallShield\Developer\System\IsCmdBld.exe" -p "D:\depot\InstallerDeliveries\Win\My
Product\3.0.0\My Company My Product 3.0\My Company My Product 3.0.ism" -r "English" -a "Media"
> "D:\depot\InstallerDeliveries\Win\My Product\3.0.0\MSIBuildLog.txt"

		<!-- breaks due to white spaces-->
		<exec 	dir="D:\depot\InstallerDeliveries\Win\My Product\3.0.0"
			executable="C:\Program Files\InstallShield\Developer\System\IsCmdBld.exe">
			<arg value="-p D:\depot\InstallerDeliveries\Win\My Product\3.0.0\My Company My Product
3.0\My Company My Product 3.0.ism"/>
			<arg value="-r English"/>
			<arg value="-a Media"/>

thanks for helping me here


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message