If the 3rd argument of the "convert" operation starts with 1, the python script seems to hang.
For example,
"convert 10 16 12" will trigger the following processes:
python convertNumber.py 10 16 1
/bin/bash -c python convertNumber.py 10 16 1 2>&1 | tee nsc.log
Notice the 3rd argument "12" is truncated and gets recognized as "1" instead, and the script just hangs there forever.
I noticed this when the fan on my macbook went crazy loud :)