| số nhiều | subprocesses |
spawn a subprocess
Tạo tiến trình con
create a subprocess
Tạo tiến trình con
kill the subprocess
Chấm dứt tiến trình con
subprocess call
Gọi tiến trình con
child subprocess
Tiến trình con
subprocess module
Mô-đun tiến trình con
subprocess id
ID tiến trình con
running subprocess
Tiến trình con đang chạy
subprocess output
Kết quả tiến trình con
multiple subprocesses
Nhiều tiến trình con
english sentence
Vietnamese_translation
the script uses subprocess.run() to execute the external command.
Chương trình sử dụng subprocess.run() để thực thi lệnh bên ngoài.
we can use subprocess.popen() to create a background process.
Ta có thể sử dụng subprocess.popen() để tạo một tiến trình nền.
the subprocess.call() method returns the exit code when the command completes.
Phương thức subprocess.call() trả về mã thoát khi lệnh hoàn thành.
use subprocess.check_output() to capture the standard output of the command.
Sử dụng subprocess.check_output() để bắt đầu đầu ra chuẩn của lệnh.
the subprocess.communicate() method sends input and receives output from the process.
Phương thức subprocess.communicate() gửi đầu vào và nhận đầu ra từ tiến trình.
set subprocess.pipe to redirect stdout and stderr to the parent process.
Thiết lập subprocess.pipe để chuyển hướng stdout và stderr đến tiến trình cha.
check subprocess.returncode to determine if the process completed successfully.
Kiểm tra subprocess.returncode để xác định xem tiến trình có hoàn thành thành công hay không.
use subprocess.kill() to terminate a running subprocess immediately.
Sử dụng subprocess.kill() để ngay lập tức kết thúc một tiến trình con đang chạy.
the subprocess.terminate() method gracefully stops the process.
Phương thức subprocess.terminate() dừng tiến trình một cách nhẹ nhàng.
you can spawn a subprocess to run multiple commands concurrently.
Bạn có thể tạo một tiến trình con để chạy nhiều lệnh đồng thời.
the subprocess module provides tools for managing external processes.
Module subprocess cung cấp các công cụ để quản lý các tiến trình bên ngoài.
always handle exceptions when working with subprocess to avoid zombie processes.
Luôn xử lý các ngoại lệ khi làm việc với subprocess để tránh các tiến trình zombie.
the subprocess can be configured with environment variables before execution.
Tiến trình con có thể được cấu hình với các biến môi trường trước khi thực thi.
use timeout parameter in subprocess.run() to prevent hanging processes.
Sử dụng tham số timeout trong subprocess.run() để ngăn chặn các tiến trình bị treo.
spawn a subprocess
Tạo tiến trình con
create a subprocess
Tạo tiến trình con
kill the subprocess
Chấm dứt tiến trình con
subprocess call
Gọi tiến trình con
child subprocess
Tiến trình con
subprocess module
Mô-đun tiến trình con
subprocess id
ID tiến trình con
running subprocess
Tiến trình con đang chạy
subprocess output
Kết quả tiến trình con
multiple subprocesses
Nhiều tiến trình con
english sentence
Vietnamese_translation
the script uses subprocess.run() to execute the external command.
Chương trình sử dụng subprocess.run() để thực thi lệnh bên ngoài.
we can use subprocess.popen() to create a background process.
Ta có thể sử dụng subprocess.popen() để tạo một tiến trình nền.
the subprocess.call() method returns the exit code when the command completes.
Phương thức subprocess.call() trả về mã thoát khi lệnh hoàn thành.
use subprocess.check_output() to capture the standard output of the command.
Sử dụng subprocess.check_output() để bắt đầu đầu ra chuẩn của lệnh.
the subprocess.communicate() method sends input and receives output from the process.
Phương thức subprocess.communicate() gửi đầu vào và nhận đầu ra từ tiến trình.
set subprocess.pipe to redirect stdout and stderr to the parent process.
Thiết lập subprocess.pipe để chuyển hướng stdout và stderr đến tiến trình cha.
check subprocess.returncode to determine if the process completed successfully.
Kiểm tra subprocess.returncode để xác định xem tiến trình có hoàn thành thành công hay không.
use subprocess.kill() to terminate a running subprocess immediately.
Sử dụng subprocess.kill() để ngay lập tức kết thúc một tiến trình con đang chạy.
the subprocess.terminate() method gracefully stops the process.
Phương thức subprocess.terminate() dừng tiến trình một cách nhẹ nhàng.
you can spawn a subprocess to run multiple commands concurrently.
Bạn có thể tạo một tiến trình con để chạy nhiều lệnh đồng thời.
the subprocess module provides tools for managing external processes.
Module subprocess cung cấp các công cụ để quản lý các tiến trình bên ngoài.
always handle exceptions when working with subprocess to avoid zombie processes.
Luôn xử lý các ngoại lệ khi làm việc với subprocess để tránh các tiến trình zombie.
the subprocess can be configured with environment variables before execution.
Tiến trình con có thể được cấu hình với các biến môi trường trước khi thực thi.
use timeout parameter in subprocess.run() to prevent hanging processes.
Sử dụng tham số timeout trong subprocess.run() để ngăn chặn các tiến trình bị treo.
Khám phá những từ vựng được tìm kiếm thường xuyên
Muốn học từ vựng hiệu quả hơn? Tải ngay ứng dụng DictoGo và tận hưởng nhiều tính năng ghi nhớ và ôn tập từ vựng hơn nữa!
Tải DictoGo ngay