diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-10-09 11:13:47 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-10-09 14:03:26 +0200 |
commit | 22d7f7b3a5d9bde58a3b6e59f5c9117faaea4673 (patch) | |
tree | 0da6ea3469d94ca434d1b2dbf7f07388ac4dfc05 /solenv | |
parent | ff8a2eda2542c59d9aed38008ea62f1f01101983 (diff) |
Be more verbose why gcc-wrapper could not create process
Change-Id: I34f4209f1b830060a22ae38c05fe8a8e771c8f41
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104111
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/gcc-wrappers/wrapper.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/solenv/gcc-wrappers/wrapper.cxx b/solenv/gcc-wrappers/wrapper.cxx index 56936155fa47..abc0ed2864fc 100644 --- a/solenv/gcc-wrappers/wrapper.cxx +++ b/solenv/gcc-wrappers/wrapper.cxx @@ -262,7 +262,8 @@ int startprocess(string command, string args, bool verbose) &si, // Startup Info &pi) // Process Information ) { - cerr << "Error: could not create process" << endl; + auto const e = GetLastError(); + cerr << "Error: could not create process \"" << cmdlineBuf << "\": " << e << endl; exit(1); } |