summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorKierán Meinhardt <kieran.meinhardt@gmail.com>2020-09-30 16:56:58 +0200
committerKierán Meinhardt <kieran.meinhardt@gmail.com>2020-09-30 16:56:58 +0200
commitb59a8dc851bc06b64c166ad429238c05278fe56a (patch)
treea5880d238fd1fc1c7d5566b0fb1494a5e5f75469 /config
parent2e7376208f7d0ca3be926a000fde517a9f329023 (diff)
kmein config: remove calls to deprecated System.Process functions
Diffstat (limited to 'config')
-rw-r--r--config/kmein.hs2
1 files changed, 1 insertions, 1 deletions
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