add another test and remove unecessary module qualification

This commit is contained in:
Bennet Bleßmann
2025-07-26 21:18:15 +02:00
committed by Bennet Bleßmann
parent 25edde2eb4
commit 70d65bcea8
2 changed files with 6 additions and 1 deletions

View File

@@ -2,3 +2,8 @@
$ scryer-prolog -f --no-add-history -g 'use_module(library(process)), process_create("cmd", ["/C", "exit", "1"], [process(P)]), process_wait(P, exit(1)), halt'
```
```trycmd
$ scryer-prolog -f --no-add-history -g 'use_module(library(process)), use_module(library(format)), process_create("cmd", [], [process(P), stdout(null), stdin(pipe(S))]), format(S, "exit 1~n", []), process_wait(P, Status), halt'
```