|
|||
|
Hi
I run a commandline application from SWFKit using Shell.run(...). The command line application has several output. Is there a possibility to read this output with SWFKit? I need this to check whether the commandline application terminated successfully or not. Even better would be a way to read the commandline output while the commandline app is working. That way I could read how many percent the app has completed and show this in a graphically manner inside my SWFKit application. And is there a way in SWFKit to check if an application started with Shell.run(...) is running? Thanks a lot for your support! |
|
|||
|
SWFKit Pro v3 has the ability to read the output of a console program:
Code:
var msg = Shell.runConsole("ping www.microsoft.com");
trace(msg);
|
|
|||
|
That's a little hard. You would have to write a dll to lanuch your application in a thread and wait for it to return. When it returns, the thread posts a message to the main window so that the main window will know when the app returns.
|
|
|||
|
Shouldn't I be able to use runConsole to run a .BAT file?
I've had a lot of trouble running an application (WITH PARAMETERS) from within Flex, and I was really hoping that runConsole might be the solution. Steve |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|