summaryrefslogtreecommitdiff
path: root/doc/forum/Weird_SSH_issue/comment_8_b5ba54711a869076fdf78f81f2f5c70d._comment
blob: f5110479f3184474f1bd47aa49bd79d58ce06399 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[[!comment format=mdwn
 username="joey"
 subject="""comment 8"""
 date="2016-03-06T23:47:58Z"
 content="""
I modified spin', adding this before its final ssh:

	async $ createProcessForeground $ proc "sleep" ["500"]

This more or less replicates the problem reliably; the remote propellor
runs but nothing gets displayed for 500 seconds until the sleep process
is done. At which point the whole buffered output appears. Use cat instead
and it'll hang forever.

Of course, that means `ps fax` shows propellor with sleep and ssh as
child processes. If only ssh shows as a child process and nothing else
when the problem naturally occurs, then that's a different problem
than what I was able to replicate.

Anyway, this seems too fragile to leave like this even though
nothing run on the way to a ssh should run for very long.
So, I'm making the ssh be run forced to the foreground, which will
certianly avoid all such problems.
"""]]