From d42e77e3898e8a27beb0ca9cbae8819ee1e151ef Mon Sep 17 00:00:00 2001 From: Alexandre Hamez Date: Thu, 9 Dec 2021 17:36:35 +0100 Subject: [PATCH] Don't cd into tmp dir --- lib/file_system/backends/fs_inotify.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/file_system/backends/fs_inotify.ex b/lib/file_system/backends/fs_inotify.ex index 8f04ff7..34fd664 100644 --- a/lib/file_system/backends/fs_inotify.ex +++ b/lib/file_system/backends/fs_inotify.ex @@ -125,7 +125,7 @@ defmodule FileSystem.Backends.FSInotify do port = Port.open( {:spawn_executable, '/bin/sh'}, - [:stream, :exit_status, {:line, 16384}, {:args, all_args}, {:cd, System.tmp_dir!()}] + [:stream, :exit_status, {:line, 16384}, {:args, all_args}] ) Process.link(port)