Asynchronous NAnt batch call -


in nant project, i'd fire off batch file , forget it. tried pulling this:

<exec program="start" commandline="cmd /c c:\mybat.bat" /> 

but nant complains:

'start' failed start     system cannot find specified fileblockquote 

start cmd /c c:\mybat.bat works if run straight command line. ideas?

take @ asyncexec task. also, iirc start not real program command, why you're getting error.


Comments

Popular posts from this blog

unicode - Are email addresses allowed to contain non-alphanumeric characters? -

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -