python에서 다른 파일을 실행하는 방법 이메일: jongmoon@hacksper.com 태그: python,import,exec,system 다음과 같이 2개의 python 파일이 있습니다. _test_ex1.py print("ex1") _test_ex2.py print("ex2") _test_ex1.py 에서 _text_ex2.py의 내용을 실행시키고 싶다면…
[태그:] exec
java에서 Runtime.getRuntime().exec로 실행파일 실행하기
java에서 Runtime.getRuntime().exec로 실행파일 실행하기 이메일: jongmoon@hacksper.com 태그: java,runtime,exec,프로그램실행,프로세스실행 실행 코드 코드 Runtime.getRuntime().exec(new String[]{"php","/var/www/script.php", "-m", "2"});