Hamza Zeen-Aldin wrote:
Hi all,
How can I capture the string output from a program that I call through an <exec task? I call perfroce (p4) to get the number of the latest pending changelist in my nant script so I can call perforce again to submit that change list.
I think you want the output attribute of <exec>.
from the docs output: The file to which the standard output will be redirected.
http://nant.sourceforge.net/nightly/help/tasks/exec.html
Ian
Thanks, Z
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users
--
Ian MacLean, Developer, ActiveState, a division of Sophos
http://www.ActiveState.com
------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
