Suppress source port output, just show command.

This commit is contained in:
Simon Howard 2024-09-01 00:00:13 -04:00
parent 7d0a36dca1
commit 5a0c33a256
2 changed files with 4 additions and 4 deletions

View file

@ -16,7 +16,7 @@ output: $(OUTPUTS)
output/%.txt: demos/%.lmp $(SOURCE_PORT)
@mkdir -p $(dir $@)
./testrunner $< $@
@./testrunner $< $@
.depends: makedepends
./makedepends $@

View file

@ -24,6 +24,6 @@ if "gameversion" in cfg:
if "pwad" in cfg:
args.extend(("-file", join("extract", cfg["pwad"])))
print(shlex.join(args))
sys.stdout.close()
os.spawnvp(os.P_WAIT, args[0], args)
command = shlex.join(args) + " >/dev/null 2>&1"
print(command)
os.system(command)