From d6f02c9ba4f179f7c35f75189b51a45344e60d83 Mon Sep 17 00:00:00 2001 From: jules Date: Wed, 17 Feb 2016 14:24:53 +0000 Subject: [PATCH] Avoided a false assertion in ChildProcess --- modules/juce_core/native/juce_posix_SharedCode.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/juce_core/native/juce_posix_SharedCode.h b/modules/juce_core/native/juce_posix_SharedCode.h index e2d3658f4f..7a001f9cbb 100644 --- a/modules/juce_core/native/juce_posix_SharedCode.h +++ b/modules/juce_core/native/juce_posix_SharedCode.h @@ -1058,7 +1058,8 @@ public: // Looks like you're trying to launch a non-existent exe or a folder (perhaps on OSX // you're trying to launch the .app folder rather than the actual binary inside it?) - jassert (File::getCurrentWorkingDirectory().getChildFile (exe).existsAsFile()); + jassert (File::getCurrentWorkingDirectory().getChildFile (exe).existsAsFile() + || ! exe.containsChar (File::separator)); int pipeHandles[2] = { 0 };