From a63739a51efda27c7acc6c82435e49d44ce6ce9d 2011-03-13 05:09:36 From: Fernando Perez Date: 2011-03-13 05:09:36 Subject: [PATCH] Remove bash-ism and use standard posix redirect in sshx.sh script. Closes gh-274, thanks to github user juliantaylor for the fix! --- diff --git a/IPython/kernel/scripts/ipcluster.py b/IPython/kernel/scripts/ipcluster.py index d4e87d4..1357094 100644 --- a/IPython/kernel/scripts/ipcluster.py +++ b/IPython/kernel/scripts/ipcluster.py @@ -411,7 +411,7 @@ bsub < $1 sshx_template_prefix="""#!/bin/sh """ -sshx_template_suffix=""""$@" &> /dev/null & +sshx_template_suffix=""""$@" > /dev/null 2>&1 & echo $! """