From 378623a500562b590ab89126cf2f6822844bfeca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Sun, 29 Oct 2023 19:53:58 +0100 Subject: [PATCH] Compile custom highlighter without using sub-processes. [GB.HIGHLIGHT] * NEW: Compile custom highlighter without using sub-processes. --- comp/src/gb.highlight/.src/TextHighlighter.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comp/src/gb.highlight/.src/TextHighlighter.class b/comp/src/gb.highlight/.src/TextHighlighter.class index 8c8177493..272be8614 100644 --- a/comp/src/gb.highlight/.src/TextHighlighter.class +++ b/comp/src/gb.highlight/.src/TextHighlighter.class @@ -271,7 +271,7 @@ Static Private Sub CreateCustomHighlighter(sHighlight As String, sPath As String sProject = Replace(sProject, "$(startup)", "_TextHighlighter_" & sHighlight) File.Save(sDir &/ ".project", sProject) - Shell "cd " & Shell$(sDir) & " && gbc3 -agt 2>&1" To sOutput + Shell "cd " & Shell$(sDir) & " && gbc3 -agt -j1 2>&1" To sOutput sOutput = Trim(sOutput) If Process.LastValue And If sOutput Then Error.Raise(sOutput)