|
@@ -189,20 +189,6 @@ public abstract class ContainerExecutor implements Configurable {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- /** Return a command to execute the given command in OS shell.
|
|
|
- * On Windows, the passed in groupId can be used to launch
|
|
|
- * and associate the given groupId in a process group. On
|
|
|
- * non-Windows, groupId is ignored. */
|
|
|
- protected static String[] getRunCommand(String command,
|
|
|
- String groupId) {
|
|
|
- if (Shell.WINDOWS) {
|
|
|
- return new String[] { Shell.WINUTILS, "task", "create", groupId,
|
|
|
- "cmd /c " + command };
|
|
|
- } else {
|
|
|
- return new String[] { "bash", "-c", command };
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
/**
|
|
|
* Return a command to execute the given command in OS shell.
|
|
|
* On Windows, the passed in groupId can be used to launch
|