mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
Update src/app/window-handler.ts
Co-Authored-By: mattias-symphony <57355424+mattias-symphony@users.noreply.github.com>
This commit is contained in:
parent
6a82154818
commit
890268f9d8
@ -928,7 +928,9 @@ export class WindowHandler {
|
||||
logger.info(`window handler: execCmd: util: ${util} utilArgs: ${utilArgs}`);
|
||||
return new Promise<ChildProcess>((resolve, reject) => {
|
||||
return execFile(util, utilArgs, (error: ExecException | null) => {
|
||||
logger.info(`window handler: execCmd: error: ${error}`);
|
||||
if (error) {
|
||||
logger.info(`window handler: execCmd: error: ${error}`);
|
||||
}
|
||||
if (error && error.killed) {
|
||||
// processs was killed, just resolve with no data.
|
||||
return reject(error);
|
||||
|
Loading…
Reference in New Issue
Block a user