diff --git a/lib/file_system/backends/fs_inotify.ex b/lib/file_system/backends/fs_inotify.ex
index 60e0a8e1918fa454a857d79becd6c7ef814a16b6..366040caa70f70afe8b3d610fb49cfe2e7af9dee 100644
--- a/lib/file_system/backends/fs_inotify.ex
+++ b/lib/file_system/backends/fs_inotify.ex
@@ -101,7 +101,7 @@ defmodule FileSystem.Backends.FSInotify do
 
     case parse_options(rest) do
       {:ok, port_args} ->
-        bash_args = ['-c', '#{executable_path()} $0 $@ & PID=$!; read a; kill -KILL $PID']
+        bash_args = ['-c', '#{executable_path()} "$0" "$@" & PID=$!; read a; kill -KILL $PID']
 
         all_args =
           case :os.type() do