From b59a8dc851bc06b64c166ad429238c05278fe56a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Wed, 30 Sep 2020 16:56:58 +0200 Subject: kmein config: remove calls to deprecated System.Process functions --- config/kmein.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/kmein.hs b/config/kmein.hs index 5a121bb..397f1c8 100644 --- a/config/kmein.hs +++ b/config/kmein.hs @@ -118,7 +118,7 @@ myKeymap "S" = fmap snd . saveAttachment myKeymap "o" = saveAttachment >=> \case (Nothing, q') -> return q' (Just filePath, q') -> - q' <$ runCommand ("xdg-open " <> filePath) + q' <$ callProcess "xdg-open" [filePath] myKeymap "q" = \q -> q <$ raiseSignal sigINT -- cgit v1.2.3