cea-hpc/clustershell — Issue #114: clush: strange behavior when launched in background (with &)
Author: thiell
Created: 2012-03-03 16:47:47+00:00
State: open
Labels: Scripts

{{{clush}}} stops when launched in background with default options:

{{{
#!sh
[user@aury21 scripts]$ ./clush.py -w localhost sleep 1 &
[1] 24179
[user@aury21 scripts]$

[1]+ Stopped ./clush.py -w localhost sleep 1
[user@aury21 scripts]$
}}}

It's ok when launched with {{{--nostdin}}} option:
{{{
#!sh
[user@aury21 scripts]$ ./clush.py --nostdin -w localhost sleep 1 &
[1] 24172
[user@aury21 scripts]$
[user@aury21 scripts]$
[user@aury21 scripts]$
[1]+ Done ./clush.py --nostdin -w localhost sleep 1
[user@aury21 scripts]$
}}}