File tree Expand file tree Collapse file tree 1 file changed +1
-25
lines changed Expand file tree Collapse file tree 1 file changed +1
-25
lines changed Original file line number Diff line number Diff line change @@ -37,31 +37,7 @@ module.exports =
37
37
@ provider ().start ? paths .jlpath (), client .clargs ()
38
38
.catch ->
39
39
40
- monitorExit : (proc ) ->
41
- proc .onExit (code, signal) ->
42
- msg = " Julia has stopped"
43
- if not proc .wrapper and code isnt 0
44
- msg += " : #{ code} "
45
- if signal then msg += " , #{ signal} "
46
- else
47
- msg += " ."
48
- client .info msg
49
-
50
- pipeStreams : (proc ) ->
51
- out = (data ) -> client .stdout data .toString ()
52
- err = (data ) -> client .stderr data .toString ()
53
- proc .flush ? out, err
54
- proc .onStdout out
55
- proc .onStderr err
56
-
57
40
monitor : (proc ) ->
58
- proc .ready = -> false
59
- @ pipeStreams proc
60
- @ monitorExit proc
61
- client .attach proc
62
- proc
63
-
64
- monitor2 : (proc ) ->
65
41
client .emitter .emit (' boot' , proc)
66
42
proc .ready = -> false
67
43
client .attach (proc)
@@ -92,7 +68,7 @@ module.exports =
92
68
93
69
proc = check
94
70
.then => @ spawnJulia (path, args, provider)
95
- .then (proc) => if proc . ty ? then @ monitor2 (proc) else @ monitor (proc)
71
+ .then (proc) => @ monitor (proc)
96
72
97
73
# set working directory here, so we queue this task before anything else
98
74
if provider is ' Remote'
You can’t perform that action at this time.
0 commit comments