diff --git a/src/stub_launcher.cc b/src/stub_launcher.cc index 828228e6..ea3a318b 100644 --- a/src/stub_launcher.cc +++ b/src/stub_launcher.cc @@ -240,10 +240,10 @@ StubLauncher::Launch() std::string launch_command; std::stringstream ss; - ss << python_backend_stub << " " << model_path_ << " " << shm_region_name_ + ss << "\"" << python_backend_stub << "\" \"" << model_path_ << "\" " << shm_region_name_ << " " << shm_default_byte_size_ << " " << shm_growth_byte_size_ << " " - << parent_pid_ << " " << python_lib_ << " " << ipc_control_handle_ << " " - << stub_name << " " << runtime_modeldir_; + << parent_pid_ << " \"" << python_lib_ << "\" " << ipc_control_handle_ << " \"" + << stub_name << "\" \"" << runtime_modeldir_ << "\""; launch_command = ss.str(); LOG_MESSAGE(