diff options
Diffstat (limited to 'build/cli')
-rw-r--r-- | build/cli/module.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/build/cli/module.cxx b/build/cli/module.cxx index 67e2137..de7d576 100644 --- a/build/cli/module.cxx +++ b/build/cli/module.cxx @@ -138,6 +138,10 @@ namespace build } catch (const process_error& e) { + // In some cases this is not enough (e.g., the runtime linker + // will print scary errors if some shared libraries are not + // found. So it would be good to redirect child's STDERR. + // if (!optional) error << "unable to execute " << cli << ": " << e.what (); |