Rahul schrieb:
> when changed to cmd to notepad, the notepad opens
> 
[...]
>                         Runtime.getRuntime().exec("cmd.exe /C start
[...]
> 
> test.bat makes a hello directory in the specified location, but its
> not working from this code.

Possible reasons:

 - Something is printed to STDOUT or STDERR leading the process
   to block because you need to read out _both_ streams while the
   process is executing

Because you don't wait for the end of the process-execution, it's
possible that the Finalizer is killing your batch so fast, that it
never gets completely executed.

Add some echo-lines to your batch-file like this:

echo Starting batch >> C:\debugout.txt

and check if these exist after the execution.


Regards, Lothar

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to