 
     if (ErrorLevel = 0)
     {
-        Run, c:\windows\sysnative\bash -c 'exec sleep 10000000d', , Hide
+        Run, "%bash_exe%" -c 'exec sleep 10000000d', , Hide
     }
 }

IniRead, use_tmux, %A_ScriptDir%\etc\wsl-terminal.conf, config, use_tmux, 0
IniRead, attach_tmux_locally, %A_ScriptDir%\etc\wsl-terminal.conf, config, attach_tmux_locally, 0
IniRead, icon, %A_ScriptDir%\etc\wsl-terminal.conf, config, icon, ""

icon_string = -i "%A_ScriptFullPath%"
if (icon != "" && FileExist(icon))

    if (WinExist(title))
    {
        cmd =
        Run, "%bash_exe%" -c 'tmux new-window -c "$PWD"', , Hide
    }
    else if (args = "-a")
    {
