Skip to content

Commit

Permalink
Don't cd into tmp dir
Browse files Browse the repository at this point in the history
  • Loading branch information
ahamez committed Dec 9, 2021
1 parent acfc8a3 commit d42e77e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/file_system/backends/fs_inotify.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d42e77e

Please sign in to comment.