From eaa4edf4844ac19e4f5a752de7e08e25dabc6404 Mon Sep 17 00:00:00 2001 From: Bram Vanbilsen Date: Fri, 15 Mar 2024 01:11:44 -0600 Subject: [PATCH] os: cleanup field comments of os.Process (#21023) --- vlib/os/process.v | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/vlib/os/process.v b/vlib/os/process.v index 400171328147d7..3e447854cf7293 100644 --- a/vlib/os/process.v +++ b/vlib/os/process.v @@ -18,15 +18,13 @@ pub enum ProcessState { @[heap] pub struct Process { pub mut: - filename string // the process's command file path - pid int // the PID of the process - code int = -1 - // the exit code of the process, != -1 *only* when status is .exited *and* the process was not aborted - status ProcessState = .not_started - // the current status of the process - err string // if the process fails, contains the reason why - args []string // the arguments that the command takes - work_folder string // the initial working folder of the process. When '', reuse the same folder as the parent process. + filename string // the process's command file path + pid int // the PID of the process + code int = -1 // the exit code of the process, != -1 *only* when status is .exited *and* the process was not aborted + status ProcessState = .not_started // the current status of the process + err string // if the process fails, contains the reason why + args []string // the arguments that the command takes + work_folder string // the initial working folder of the process. When '', reuse the same folder as the parent process. env_is_custom bool // true, when the environment was customized with .set_environment env []string // the environment with which the process was started (list of 'var=val') use_stdio_ctl bool // when true, then you can use p.stdin_write(), p.stdout_slurp() and p.stderr_slurp()