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>
This commit is contained in:
parent
ff8a2eda25
commit
22d7f7b3a5
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue