Monday, 15 June 2015

qt - Bash command substitution freeze -



qt - Bash command substitution freeze -

currently encountered next situation when bash script freeze on

pid=`cat test.pid`

after analysis found commands freeze

test=$(echo 1) test=`echo 1`

using set -x in bash script, can see next output

+ echo 1 1 ++ echo 1

for script

#!/bin/bash set -x echo 1 test=$(echo 1) set +x

this script called qt process , have worked lately. when phone call script manually bash works, when process fails. i'm looking possible reasons of such freezes, , i've no more ideas. when printed environments matched, can't prinenv within `` freezes also.

bash qt freeze command-substitution

No comments:

Post a Comment