Details
-
Bug
-
Resolution: Fixed
-
P2
-
7u21
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8014046 | 7u45 | Alexey Utkin | P2 | Closed | Fixed | b01 |
JDK-8016955 | 7u40 | Alexey Utkin | P2 | Closed | Fixed | b30 |
JDK-8014569 | 7u25 | Alexey Utkin | P2 | Closed | Fixed | b11 |
JDK-8014670 | 6u65 | Sean Coffey | P2 | Closed | Fixed | b01 |
JDK-8015234 | 6u60 | Sean Coffey | P2 | Closed | Fixed | b01 |
JDK-8014402 | 6u51 | Sean Coffey | P2 | Closed | Fixed | b09 |
JDK-8014672 | 5.0u55 | Sean Coffey | P2 | Closed | Fixed | b01 |
JDK-8014401 | 5.0u51 | Sean Coffey | P2 | Closed | Fixed | b09 |
Description
1.7.0_21 64 bit
ADDITIONAL OS VERSION INFORMATION :
Windows 7 [Version 6.1.7601]
A DESCRIPTION OF THE PROBLEM :
Process p = exec( " F:\\Program Files\
etload\
etload.exe " );
fails
The command works fine from the command line, or in 1.7.0_17
However
Process p = exec( " E:\\sys\
etload.exe " );
works fine in 1.7.0_21 if I put a copy of netload.exe in E:\sys
exec no longer likes spaces in filenames.
REGRESSION. Last worked in version 7u17
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
put snippets in a dummy program. Run them both ways with some exe that does exist on your Windows machine.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Should work either way
ACTUAL -
Only exe without space in filenames can be execed.
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
move files to directories without spaces in the names.
Attachments
Issue Links
- backported by
-
JDK-8014046 (process) Runtime.exec(String) fails if command contains spaces [win]
- Closed
-
JDK-8014401 (process) Runtime.exec(String) fails if command contains spaces [win]
- Closed
-
JDK-8014402 (process) Runtime.exec(String) fails if command contains spaces [win]
- Closed
-
JDK-8014569 (process) Runtime.exec(String) fails if command contains spaces [win]
- Closed
-
JDK-8014670 (process) Runtime.exec(String) fails if command contains spaces [win]
- Closed
-
JDK-8014672 (process) Runtime.exec(String) fails if command contains spaces [win]
- Closed
-
JDK-8015234 (process) Runtime.exec(String) fails if command contains spaces [win]
- Closed
-
JDK-8016955 (process) Runtime.exec(String) fails if command contains spaces [win]
- Closed
- duplicates
-
JDK-8014730 7u21 change to Runtime.exec breaks Maven execution in NetBeans
- Resolved
-
JDK-8012609 Runtime.getRuntime().exec(String) behaves differently on update 21
- Closed
-
JDK-8013350 ProcessBuilder execution for command with pipe fails.
- Resolved
- relates to
-
JDK-8015965 (process) Typo in name of property to allow ambiguous commands
- Closed