If you try to run a 16-bit DOS program, e.g.
new ProcessBuilder(new String[]{"command.com","/C", "dir"}).start();
it fails by putting up a dialog box (even if the process is running "remotely")
16-bit MS-DOS subsystem
C:/WINNT/System32/ntvdm.exe
Error while setting up environment for the application.
while the analogous
new ProcessBuilder(new String[]{"cmd.exe","/C", "dir"}).start();
works perfectly.
###@###.### 2004-03-02
new ProcessBuilder(new String[]{"command.com","/C", "dir"}).start();
it fails by putting up a dialog box (even if the process is running "remotely")
16-bit MS-DOS subsystem
C:/WINNT/System32/ntvdm.exe
Error while setting up environment for the application.
while the analogous
new ProcessBuilder(new String[]{"cmd.exe","/C", "dir"}).start();
works perfectly.
###@###.### 2004-03-02
- relates to
-
JDK-5008166 (process) Various improvements to Windows process creation code
-
- Resolved
-
-
JDK-4321955 Runtime.exec() behavior changed
-
- Closed
-