                                             .output[1].toString()) > 2
         if @useWrapper
           @getFreePort =>
-            @proc = child_process.spawn("powershell",
+            proc = child_process.spawn("powershell",
                                         ["-NoProfile", "-ExecutionPolicy", "bypass",
                                          "& \"#{@script "spawnInterruptible.ps1"}\"
                                          -cwd \"#{workingdir}\"

    client.connected conn

  start: (port) ->
    return if @proc?
    client.booting()
    @checkPath @jlpath()
      .then =>

    conn.proc.on 'exit', (code, signal) =>
      client.stderr "Julia has stopped"
      if not @useWrapper then client.stderr ": #{code}, #{signal}"
      client.cancelBoot()
    conn.proc.stdout.on 'data', (data) => client.stdout data.toString()
    conn.proc.stderr.on 'data', (data) =>
