test subprocess whether or not can run separated from parent process