I am using `ProcessBuilder`to build my command. I want to build my command following this post:[How do I launch a java process that has the standard bash shell environment?](https://stackoverflow.com/questions/7354592/how-do-i-launch-a-java-process-that-has-the-standard-bash-shell-environment)

Namely, my command is something like this:
`/bin/bash -l -c "my program"`

However, I am having difficulties to pass the double quotes into `ProcessBuilder`, as `new ProcessBuilder(List<String> command)` failed to phrase the command if I natively add double quotes to `List<String> command`. `ProcessBuilder` recognizes the double quotes as an argument.

Relevant code:

```
    //Construct the argument
    csi.add("/bin/bash");
    csi.add("-l");
    csi.add("-c");
    csi.add("\"");
    csi.add(csi_path);
    csi.add(pre_hash);
    csi.add(post_hash);
    csi.add("\"");

    String csi_output = Command.runCommand(project_directory, csi);

 public static String runCommand(String directory, List<String> command) {

    ProcessBuilder processBuilder = new ProcessBuilder(command).directory(new File(directory));
    Process process;
    String output = null;
    try {
        process = processBuilder.start();

        //Pause the current thread until the process is done
        process.waitFor();

        //When the process does not exit properly
        if (process.exitValue() != 0) {

            //Error
            System.out.println("command exited in error: " + process.exitValue());

            //Handle the error
            return readOutput(process);
        }else {

            output = readOutput(process);
            System.out.println(output);
        }

    } catch (InterruptedException e) {
        System.out.println("Something wrong with command: " +e.getMessage());

    } catch (IOException e) {
        System.out.println("Something wrong with command: " +e.getMessage());
    }

    return output;
}

```

Ps: I do want to use `ProcessBuilder` instead of `Runtime.getRuntime.exec()` because I need to run the command in a specific directory. I need to use `ProcessBuilder.directory()`.

Ps: The command will exit with 2 after running. It seems that the system can recognize this command. The strange thing is that it has no output after exiting with 2.

Ps: The expected command is `/bin/bash -l -c "/Users/ryouyasachi/GettyGradle/build/idea-sandbox/plugins/Getty/classes/python/csi 19f4281 a562db1"`. I printed the value and it was correct.