1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-02 16:49:41 +02:00

Fix for bug #739

Just ignores the broken pipe signal allowing the 
failure dialog to come up and, more importantly,
keep Audacity from simply disappearing.  :-)
This commit is contained in:
lllucius@gmail.com 2014-12-06 05:42:08 +00:00
parent d438755ae5
commit fdfcc0ec4d

View File

@ -202,6 +202,11 @@ class ExportCLProcess : public wxProcess
public:
ExportCLProcess(wxString *output)
{
#if defined(__WXMAC__)
// Don't want to crash on broken pipe
signal(SIGPIPE, SIG_IGN);
#endif
mOutput = output;
mActive = true;
mStatus = -555;
@ -359,6 +364,7 @@ int ExportCL::Export(AudacityProject *project,
fName.c_str()));
p->Detach();
p->CloseOutput();
return false;
}