From e06402099ce256405610d0be64760266f969dcd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Sun, 5 Apr 2026 11:47:12 +0200 Subject: Custom signals to kill spawned process Changelog: Added `killwith` clause to set a signal used to terminate `spawn`ed process. --- src/Parser/Statement.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Parser') diff --git a/src/Parser/Statement.hs b/src/Parser/Statement.hs index 7876542..4548b63 100644 --- a/src/Parser/Statement.hs +++ b/src/Parser/Statement.hs @@ -430,6 +430,7 @@ testSpawn = command "spawn" $ Spawn <$> param "as" <*> (bimap fromExprParam fromExprParam <$> paramOrContext "on") <*> (maybe [] fromExprParam <$> param "args") + <*> (maybe Nothing (Just . fromExprParam) <$> param "killwith") <*> innerBlockFun testExpect :: TestParser (Expr (TestBlock ())) -- cgit v1.2.3