process-manager/src/main/java/io/fabric8/jube/process/config/ProcessConfig.java
protected String toCommand(String commandName) {
        if (isWindows()) {
            return commandName + ".bat";
        }
        String path = installDir != null ? installDir.getAbsolutePath() : ".";
        return "bash -c " + path + "/" + commandName + ".sh";
    }
/**
     * Converts the command name to the operating system specific command that should be used.
     */
Converts the command name to the operating system specific command that should be used.
Converts the command name to the operating system specific command that should be used .
protected String toCommand(String commandName) {
        if (isWindows()) {
            return commandName + ".bat";
        }
        String path = installDir != null ? installDir.getAbsolutePath() : ".";
        return "bash -c " + path + "/" + commandName + ".sh";
    }
protected String toCommand ( String commandName ) { if ( isWindows ( ) ) { return commandName + ".bat" ; } String path = installDir != null ? installDir . getAbsolutePath ( ) : "." ; return "bash -c " + path + "/" + commandName + ".sh" ; }
Converts the command name to the operating system specific command that should be used.
Converts the command name to the operating system specific command that should be used .