buildShellExecCommandLineForPopen