<|file_name|>test.py<|end_file_name|><｜fim▁begin｜><｜fim▁hole｜>result = subprocess.Popen('sh test.sh', shell=True)
text = result.communicate()[0]
sys.exit(result.returncode)<｜fim▁end｜>
import sys
import subprocess
