Skip to content

Commit baa0235

Browse files
committed
Daemon - further windows path tweaks
1 parent 8c7af15 commit baa0235

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

app/server/ruby/bin/daemon.rb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -898,7 +898,7 @@ class SpiderBooter < ProcessBooter
898898
def initialize(ports, token)
899899
args = [
900900
"--enable-frozen-string-literal", "-E", "utf-8", "--yjit",
901-
Paths.spider_server_path,
901+
File.expand_path(Paths.spider_server_path),
902902
"-u",
903903
ports["spider-listen-to-gui"],
904904
ports["spider-send-to-gui"],
@@ -910,7 +910,7 @@ def initialize(ports, token)
910910
token
911911
]
912912

913-
super(Paths.ruby_path, args, Paths.spider_log_path)
913+
super(File.expand_path(Paths.ruby_path), args, File.expand_path(Paths.spider_log_path))
914914
end
915915
end
916916

@@ -978,10 +978,10 @@ def initialize(ports, kill_switch, token)
978978

979979
cmd = File.expand_path(Paths.tau_release_erl_bin_path)
980980

981-
args = ["-config", "\"#{File.expand_path(Paths.tau_release_sys_path)}\"",
982-
"-boot", "\"#{File.expand_path(Paths.tau_release_start_path)}\"",
983-
"-boot_var", "RELEASE_LIB", "\"#{File.expand_path(Paths.tau_release_lib_path)}\"",
984-
"-args_file", "\"#{File.expand_path(Paths.tau_release_vm_args_path)}\"",
981+
args = ["-config", File.expand_path(Paths.tau_release_sys_path),
982+
"-boot", File.expand_path(Paths.tau_release_start_path),
983+
"-boot_var", "RELEASE_LIB", File.expand_path(Paths.tau_release_lib_path),
984+
"-args_file", File.expand_path(Paths.tau_release_vm_args_path),
985985
"-noshell",
986986
"-s", "elixir", "start_cli",
987987
"-mode", "embedded",
@@ -1186,7 +1186,7 @@ def initialize(ports, no_scsynth_inputs=false)
11861186
args << "-H" << sound_card_name
11871187
end
11881188

1189-
cmd = Paths.scsynth_path
1189+
cmd = File.expand_path(Paths.scsynth_path)
11901190

11911191
case Util.os
11921192
when :linux, :raspberry

0 commit comments

Comments
 (0)