@@ -976,15 +976,19 @@ def initialize(ports, kill_switch, token)
976
976
ENV [ "RELEASE_SYS_CONFIG" ] = "#{ Paths . tau_release_sys_config_path } "
977
977
ENV [ "RELEASE_ROOT" ] = "#{ Paths . tau_release_root } "
978
978
979
- cmd = "#{ Paths . tau_release_erl_bin_path } " . gsub ( '/' , '\\' )
980
- args = [ "-config" , "#{ Paths . tau_release_sys_path } " . gsub ( '/' , "\\ " ) ,
981
- "-boot" , "#{ Paths . tau_release_start_path } " . gsub ( '/' , "\\ " ) ,
982
- "-boot_var" , "RELEASE_LIB" , "#{ Paths . tau_release_lib_path } " . gsub ( '/' , "\\ " ) ,
983
- "-args_file" , "#{ Paths . tau_release_vm_args_path } " . gsub ( '/' , "\\ " ) ,
979
+ cmd = File . expand_path ( Paths . tau_release_erl_bin_path )
980
+
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 ) } \" " ,
984
985
"-noshell" ,
985
986
"-s" , "elixir" , "start_cli" ,
986
987
"-mode" , "embedded" ,
987
988
"-extra" , "--no-halt" ]
989
+
990
+ Util . log "Windows Tau boot command: #{ cmd } "
991
+ Util . log "Windows Tau boot args: #{ args . inspect } "
988
992
else
989
993
cmd = Paths . tau_boot_path
990
994
args = [ ]
@@ -1571,4 +1575,4 @@ def find_free_port
1571
1575
SonicPi ::Daemon ::Util . log_error ( e )
1572
1576
else
1573
1577
SonicPi ::Daemon ::Util . log "Daemon Finished. Cheerio."
1574
- end
1578
+ end
0 commit comments