diff options
author | Joan Touzet <wohali@users.noreply.github.com> | 2018-03-27 14:24:23 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-27 14:24:23 -0400 |
commit | c30067352abd0ef9efb1dcf7f3fdb7e78829f6b3 (patch) | |
tree | 2ec53d84de53f6d3d5c9fd9fedbeeb5140bbe7a8 | |
parent | 1a040a44a2887cc640a536beae14f633343536a1 (diff) | |
parent | b163663050f5da62ee9aec5a48dbead8391594c1 (diff) | |
download | couchdb-c30067352abd0ef9efb1dcf7f3fdb7e78829f6b3.tar.gz |
Merge pull request #1242 from apache/daemon-spaces
Allow couch_os_daemons to live in directories with spaces
-rw-r--r-- | src/couch/src/couch_os_daemons.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couch/src/couch_os_daemons.erl b/src/couch/src/couch_os_daemons.erl index 205e20b2d..cd019dbb5 100644 --- a/src/couch/src/couch_os_daemons.erl +++ b/src/couch/src/couch_os_daemons.erl @@ -216,7 +216,7 @@ start_port(Command) -> start_port(Command, EnvPairs) -> PrivDir = couch_util:priv_dir(), - Spawnkiller = filename:join(PrivDir, "couchspawnkillable"), + Spawnkiller = "\"" ++ filename:join(PrivDir, "couchspawnkillable") ++ "\"", Opts = case lists:keytake(env, 1, ?PORT_OPTIONS) of false -> ?PORT_OPTIONS ++ [ {env,EnvPairs} ]; |