mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
fix ASL logging/stdout+stderr when running from terminal in macOS
This commit is contained in:
parent
5f6b2d6843
commit
3437fec785
1 changed files with 8 additions and 1 deletions
|
|
@ -95,7 +95,14 @@ fixup_bundle_environment (int argc, char* argv[], string & localedir)
|
|||
|
||||
set_language_preference ();
|
||||
|
||||
/* if running from a bundle, stdout/stderr will be redirect to null, so
|
||||
* we want ASL logging. If not, we're probably running in a terminal
|
||||
* and we don't want ASL logging.
|
||||
*/
|
||||
|
||||
if (g_getenv ("ARDOUR_BUNDLED")) {
|
||||
setup_logging ();
|
||||
}
|
||||
|
||||
char execpath[MAXPATHLEN+1];
|
||||
uint32_t pathsz = sizeof (execpath);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue