We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e2ee6f commit c2afd7eCopy full SHA for c2afd7e
src/fifo.pl
@@ -13,7 +13,9 @@
13
string_concat("mkfifo ", FifoPath, MkFifoCmd), % no swipl predicate for this
14
shell(MkFifoCmd, ExitCode),
15
(ExitCode == 0 ->
16
- thread_create(fifo:process_fifo(FifoPath), _, [detached(true)])
+ thread_create(
17
+ catch(fifo:process_fifo(FifoPath), _, true),
18
+ _, [detached(true)])
19
; writeln(user_error, "Could not spawn command fifo!"))
20
)))
21
.
0 commit comments