Add comment explaining the role of wxMacExecute
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
c1edaaeac6
commit
3afdfec453
@ -315,7 +315,11 @@ long wxExecute( const wxString& command, int flags, wxProcess *process )
|
||||
|
||||
long lRc;
|
||||
#if defined(__DARWIN__)
|
||||
if( (lRc = wxMacExecute(argv, flags, process)) != -1)
|
||||
// wxMacExecute only executes app bundles.
|
||||
// It returns -1 if the target is not an app bundle, thus falling through
|
||||
// to the regular wxExecute for non app bundles.
|
||||
lRc = wxMacExecute(argv, flags, process);
|
||||
if( lRc != -1)
|
||||
return lRc;
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user