From 8f6b9731a6779fc7cddb06c07adb3bfa77dea33d Mon Sep 17 00:00:00 2001 From: Fabio Niephaus Date: Thu, 21 Dec 2023 00:40:58 +0100 Subject: [PATCH] Use `CommandLineToolSet` in headless mode --- .../src/de/hpi/swa/trufflesqueak/image/SqueakImageContext.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/image/SqueakImageContext.java b/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/image/SqueakImageContext.java index 3d369d623..6343b6442 100644 --- a/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/image/SqueakImageContext.java +++ b/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/image/SqueakImageContext.java @@ -217,6 +217,9 @@ public void ensureLoaded() { "Remove active context." Processor activeProcess instVarNamed: #suspendedContext put: nil. + "Avoid interactive windows and instead exit on errors." + ToolSet default: CommandLineToolSet. + "Start up image (see SmalltalkImage>>#snapshot:andQuit:withExitCode:embedded:)." Smalltalk clearExternalObjects;