diff --git a/DGVisualStudioCodeIntegration.pas b/DGVisualStudioCodeIntegration.pas index 60246cd..db15e78 100644 --- a/DGVisualStudioCodeIntegration.pas +++ b/DGVisualStudioCodeIntegration.pas @@ -141,7 +141,11 @@ procedure OpenCurrentFileInVisualStudioCode; try executor.WorkDir := ExtractFilePath(filename); executor.CmdLine := Cmdline; - executor.Execute; + executor.Execute( + procedure(Txt: string) + begin + ShowMessage(Format('Execution error: %s', [Txt])); + end, nil); finally executor.Free; end;