Skip to content

Commit bdb7b7b

Browse files
committed
don't specify a path to env
1 parent cd68b02 commit bdb7b7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Graphics/Matplotlib/Internal.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ python codeStr =
303303
(\codeFile codeHandle -> do
304304
forM_ codeStr (hPutStrLn codeHandle)
305305
hClose codeHandle
306-
Right <$> readProcess "/usr/bin/env" ["python3", codeFile] ""))
306+
Right <$> readProcess "env" ["python3", codeFile] ""))
307307
(\e -> return $ Left $ show (e :: IOException))
308308

309309
pyBackend backend = "matplotlib.use('" ++ backend ++ "')"

0 commit comments

Comments
 (0)