subprocess

[미국]/ˈsʌbˌprəʊses/
[영국]/ˈsʌbˌprɑːses/
빈도: 매우 높음

한국어 번역

n. 더 큰 프로세스의 일부이거나 다른 프로세스에 의해 생성된 프로세스
단어 형태
복수형subprocesses

구문 및 연어

spawn a subprocess

서브프로세스 생성

create a subprocess

서브프로세스 생성

kill the subprocess

서브프로세스 종료

subprocess call

서브프로세스 호출

child subprocess

자식 서브프로세스

subprocess module

서브프로세스 모듈

subprocess id

서브프로세스 ID

running subprocess

실행 중인 서브프로세스

subprocess output

서브프로세스 출력

multiple subprocesses

여러 개의 서브프로세스

예문

english sentence

Korean_translation

the script uses subprocess.run() to execute the external command.

스크립트는 subprocess.run()을 사용하여 외부 명령을 실행합니다.

we can use subprocess.popen() to create a background process.

subprocess.popen()을 사용하여 백그라운드 프로세스를 생성할 수 있습니다.

the subprocess.call() method returns the exit code when the command completes.

subprocess.call() 메서드는 명령이 완료되면 종료 코드를 반환합니다.

use subprocess.check_output() to capture the standard output of the command.

subprocess.check_output()을 사용하여 명령의 표준 출력을 캡처합니다.

the subprocess.communicate() method sends input and receives output from the process.

subprocess.communicate() 메서드는 프로세스로부터 입력을 보내고 출력을 받습니다.

set subprocess.pipe to redirect stdout and stderr to the parent process.

subprocess.pipe를 설정하여 stdout과 stderr을 부모 프로세스로 리디렉션합니다.

check subprocess.returncode to determine if the process completed successfully.

subprocess.returncode를 확인하여 프로세스가 성공적으로 완료되었는지 확인합니다.

use subprocess.kill() to terminate a running subprocess immediately.

subprocess.kill()을 사용하여 실행 중인 자식 프로세스를 즉시 종료합니다.

the subprocess.terminate() method gracefully stops the process.

subprocess.terminate() 메서드는 프로세스를 부드럽게 중지합니다.

you can spawn a subprocess to run multiple commands concurrently.

여러 명령을 동시에 실행하기 위해 자식 프로세스를 생성할 수 있습니다.

the subprocess module provides tools for managing external processes.

subprocess 모듈은 외부 프로세스를 관리하는 도구를 제공합니다.

always handle exceptions when working with subprocess to avoid zombie processes.

자식 프로세스를 사용할 때 예외를 항상 처리하여 지저분한 프로세스를 피해야 합니다.

the subprocess can be configured with environment variables before execution.

실행 전에 환경 변수로 subprocess를 구성할 수 있습니다.

use timeout parameter in subprocess.run() to prevent hanging processes.

subprocess.run()에서 timeout 매개변수를 사용하여 멈은 프로세스를 방지합니다.

인기 단어

자주 검색된 어휘를 탐색하세요

앱을 다운로드하여 전체 콘텐츠를 잠금 해제하세요

어휘를 더 효율적으로 학습하고 싶으신가요? DictoGo 앱을 다운로드하여 더 많은 어휘 암기 및 복습 기능을 경험해 보세요!

지금 DictoGo를 다운로드하세요