Loading adb/daemon/shell_service.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -344,7 +344,8 @@ bool Subprocess::ForkAndExec(std::string* error) { } if (command_.empty()) { execle(_PATH_BSHELL, _PATH_BSHELL, "-", nullptr, cenv.data()); // Spawn a login shell if we don't have a command. execle(_PATH_BSHELL, "-" _PATH_BSHELL, nullptr, cenv.data()); } else { execle(_PATH_BSHELL, _PATH_BSHELL, "-c", command_.c_str(), nullptr, cenv.data()); } Loading Loading
adb/daemon/shell_service.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -344,7 +344,8 @@ bool Subprocess::ForkAndExec(std::string* error) { } if (command_.empty()) { execle(_PATH_BSHELL, _PATH_BSHELL, "-", nullptr, cenv.data()); // Spawn a login shell if we don't have a command. execle(_PATH_BSHELL, "-" _PATH_BSHELL, nullptr, cenv.data()); } else { execle(_PATH_BSHELL, _PATH_BSHELL, "-c", command_.c_str(), nullptr, cenv.data()); } Loading