mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix space bug
This commit is contained in:
@@ -29,7 +29,7 @@ public class RuntimeUtilTest {
|
||||
@Test
|
||||
@Ignore
|
||||
public void execCmdTest2() {
|
||||
String str = RuntimeUtil.execForStr("cmd /c cd C:\\Program Files (x86)");
|
||||
String str = RuntimeUtil.execForStr("cmd /c", "cd \"C:\\Program Files (x86)\"", "chdir");
|
||||
Console.log(str);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user