shell script executing network configuration hangs over tmux
<p>I am executing a shell script which is doing some network configuration.
when i execute this script using tmux it hangs.</p>

<p>===
Here how I am executing <code>tmux</code> in my bash</p>

<pre><code>ARGS=$*
tmux new-session -d -s ISA_INSTALL "./installaccess $ARGS"
tmux attach
</code></pre>

<p>=====
Command which hangs is</p>

<p><code>0 16:54:33 cmd /usr/bin/ssh -x -o NumberOfPasswordPrompts=0 -o StrictHostKeyChecking=no -o GSSAPIAuthentication=no -o ControlMaster=auto -o ControlPath=/var/tmp/installaccess-201607251641FNK/_ssh_%h -o ControlPersist=yes 10.209.192.171 "LC_ALL=C; LANG=C; export LC_ALL LANG; /sbin/ip addr flush eth2 &gt;/dev/null 2&gt;&amp;1; /sbin/ifconfig eth2 down &gt;/dev/null 2&gt;&amp;1" 2&gt;/dev/null
0 17:08:18 CPI WARNING V-9-20-1051 Interrupt Received--installaccess terminated
</code></p>