Repository: couchdb-couch
Updated Branches:
  refs/heads/master b8b4982f4 -> f122f9429


feat: allow couchspawnkillable to live in directories with spaces


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/f122f942
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/f122f942
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/f122f942

Branch: refs/heads/master
Commit: f122f94291bfbc87496efca3c04540bb190b985a
Parents: b8b4982
Author: Jan Lehnardt <j...@apache.org>
Authored: Wed Aug 31 21:39:13 2016 +0200
Committer: Jan Lehnardt <j...@apache.org>
Committed: Wed Aug 31 21:39:13 2016 +0200

----------------------------------------------------------------------
 src/couch_os_process.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/f122f942/src/couch_os_process.erl
----------------------------------------------------------------------
diff --git a/src/couch_os_process.erl b/src/couch_os_process.erl
index 4f15555..5852233 100644
--- a/src/couch_os_process.erl
+++ b/src/couch_os_process.erl
@@ -146,7 +146,7 @@ pick_command1(_) ->
 % gen_server API
 init([Command, Options, PortOptions]) ->
     PrivDir = couch_util:priv_dir(),
-    Spawnkiller = filename:join(PrivDir, "couchspawnkillable"),
+    Spawnkiller = "\"" ++ filename:join(PrivDir, "couchspawnkillable") ++ "\"",
     V = config:get("query_server_config", "os_process_idle_limit", "300"),
     IdleLimit = list_to_integer(V) * 1000,
     BaseProc = #os_proc{

Reply via email to