mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
MacOS: Escaped " in the command line passed to anotherInstanceStarted
This commit is contained in:
parent
368d6bb178
commit
bd07014dcc
1 changed files with 3 additions and 1 deletions
|
|
@ -235,8 +235,10 @@ private:
|
|||
static String quotedIfContainsSpaces (NSString* file)
|
||||
{
|
||||
String s (nsStringToJuce (file));
|
||||
s = s.unquoted().replace ("\"", "\\\"");
|
||||
|
||||
if (s.containsChar (' '))
|
||||
s = s.quoted ('"');
|
||||
s = s.quoted();
|
||||
|
||||
return s;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue