Compile custom highlighter without using sub-processes.

[GB.HIGHLIGHT]
* NEW: Compile custom highlighter without using sub-processes.
This commit is contained in:
Benoît Minisini 2023-10-29 19:53:58 +01:00
parent f111277e55
commit 378623a500

View file

@ -271,7 +271,7 @@ Static Private Sub CreateCustomHighlighter(sHighlight As String, sPath As String
sProject = Replace(sProject, "$(startup)", "_TextHighlighter_" & sHighlight) sProject = Replace(sProject, "$(startup)", "_TextHighlighter_" & sHighlight)
File.Save(sDir &/ ".project", sProject) 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) sOutput = Trim(sOutput)
If Process.LastValue And If sOutput Then Error.Raise(sOutput) If Process.LastValue And If sOutput Then Error.Raise(sOutput)