os: cleanup field comments of os.Process (#21023)

This commit is contained in:
Bram Vanbilsen 2024-03-15 01:11:44 -06:00 committed by GitHub
parent cb595293d5
commit eaa4edf484
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -20,10 +20,8 @@ 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
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.