don't need to hang on to the null handle

This commit is contained in:
laytan
2025-05-06 19:42:52 +02:00
parent bf5206968a
commit 9b218a2922
5 changed files with 12 additions and 27 deletions
-2
View File
@@ -46,8 +46,6 @@ _current_process_info :: proc(selection: Process_Info_Fields, allocator: runtime
return _process_info_by_pid(_get_pid(), selection, allocator)
}
_Process :: struct {}
_process_start :: proc(desc: Process_Desc) -> (process: Process, err: Error) {
if len(desc.command) == 0 {
err = .Invalid_Path