Fix incorrect handling when starting new teams.
When building the launch string for starting a new team via the GUI, enclose the executable path in quotes to ensure paths with spaces are handled properly.
This commit is contained in:
parent
b4c8efacea
commit
0c2d190d67
@ -613,7 +613,7 @@ Debugger::_StartNewTeam(const char* path, const char* args)
|
||||
return B_BAD_VALUE;
|
||||
|
||||
BString data;
|
||||
data.SetToFormat("%s %s", path, args);
|
||||
data.SetToFormat("\"%s\" %s", path, args);
|
||||
if (data.Length() == 0)
|
||||
return B_NO_MEMORY;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user