Implements sandbox's test test_subprocess()