standalone subprocess in the same thread illustration