gingerBill
|
d3f649d244
|
Make get_args contextless
|
2025-08-08 12:25:58 +01:00 |
|
laytan
|
9b218a2922
|
don't need to hang on to the null handle
|
2025-05-06 19:42:52 +02:00 |
|
Laytan
|
bf5206968a
|
close null_handle
|
2025-05-06 20:57:26 +02:00 |
|
Jeroen van Rijn
|
c13b68f103
|
Fix os2/process defer error.
|
2025-04-07 13:33:21 +02:00 |
|
gingerBill
|
1cf7a56ba7
|
General clean up of code
|
2025-01-01 15:13:46 +00:00 |
|
Laytan Laats
|
c21e62ddb4
|
reset n before stderr path too
|
2024-10-05 11:26:23 +02:00 |
|
flysand7
|
f61996fd6f
|
Don't append to buffer if nothing was read
|
2024-10-05 11:06:36 +11:00 |
|
Laytan
|
54ffd6df06
|
better error handling
|
2024-10-04 15:08:21 +02:00 |
|
Laytan
|
a3c3e5c822
|
reset err
|
2024-10-04 14:53:16 +02:00 |
|
Laytan
|
cf705d4b29
|
wait instead of kill
|
2024-10-04 14:50:26 +02:00 |
|
Laytan
|
861efa4e54
|
Revert "add some debug logs"
This reverts commit 31ee829b44.
|
2024-10-04 13:58:59 +02:00 |
|
Laytan
|
31ee829b44
|
add some debug logs
|
2024-10-04 13:40:25 +02:00 |
|
Laytan
|
d9cfe692a9
|
make sure stdout and stderr always point to allocation
|
2024-10-04 13:24:40 +02:00 |
|
Laytan Laats
|
386f144cca
|
satisfy -vet
|
2024-10-04 10:54:27 +02:00 |
|
Laytan Laats
|
1d29dfd037
|
kill process if waiting didn't make it exit to avoid a zombie
|
2024-10-04 10:51:40 +02:00 |
|
Laytan Laats
|
ae69f4b749
|
general cleanup
|
2024-10-04 10:50:14 +02:00 |
|
Laytan Laats
|
0b5cd3400f
|
use dynamic array instead of string builder
|
2024-10-04 10:43:38 +02:00 |
|
Laytan Laats
|
77b033cf96
|
kill process if there was an error during reading to not leave a zombie
|
2024-10-04 10:38:47 +02:00 |
|
Laytan Laats
|
77780f9ce8
|
fix use-after-free - closing wrong pipe
|
2024-10-03 14:24:00 +02:00 |
|
Laytan Laats
|
76806080ef
|
fix os2.process_exec on non-windows and add a smoke test
|
2024-10-03 13:51:27 +02:00 |
|
flysand7
|
0e446e1d68
|
adjust docs
|
2024-09-29 07:54:29 +11:00 |
|
flysand7
|
d830069e5c
|
[os2/process]: Implement process_exec
|
2024-09-28 11:25:32 +11:00 |
|
flysand7
|
7deb28c810
|
[os2/process]: Unindent doc comments
|
2024-09-28 10:30:54 +11:00 |
|
Laytan
|
c1684d6335
|
Merge pull request #4136 from flysand7/process-info-fix
[os2/process]: Don't free process info fields in partial success scenarios
|
2024-08-26 23:25:21 +02:00 |
|
flysand7
|
1a4faff9c9
|
[os2/process]: Fix typo on doc comments
|
2024-08-27 08:06:11 +11:00 |
|
flysand7
|
db94e646e0
|
[os2/process]: Adjust documentation for process info
|
2024-08-26 07:21:54 +11:00 |
|
Laytan Laats
|
a0fe6da10b
|
os2: propogate errors from execv functions to parent
|
2024-08-25 18:01:33 +02:00 |
|
Laytan Laats
|
a4d459f651
|
os2: initial implementation for Darwin&BSDs, process API is only thing incomplete
|
2024-08-14 01:44:37 +02:00 |
|
gingerBill
|
321ef82d76
|
Add @(require_results) where needed
|
2024-07-16 11:57:22 +01:00 |
|
gingerBill
|
169fc4d3be
|
General clean up of the os2/process_windows.odin code
|
2024-07-16 11:56:31 +01:00 |
|
flysand7
|
8df61b7209
|
[os2/process]: Make get_args() private and use heap_allocator
|
2024-07-15 23:28:03 +11:00 |
|
flysand7
|
255f00d971
|
[os2/process]: Implement missing functionality, update docs
|
2024-07-15 20:24:05 +11:00 |
|
flysand7
|
b7ccfed9af
|
[os2/process]: Implement process_kill
|
2024-07-15 07:27:44 +11:00 |
|
flysand7
|
4eca60946c
|
[os2/process]: Refactor process_info procs, add process_info_by_handle
|
2024-07-15 07:27:44 +11:00 |
|
flysand7
|
8f4755532e
|
[os2/process]: Adjust docs on process_close function
|
2024-07-15 07:27:44 +11:00 |
|
flysand7
|
63d94301fc
|
[os2/process]: Implement process creation procedures
|
2024-07-15 07:27:43 +11:00 |
|
flysand7
|
c1f5d8f006
|
[os2/process]: Improve documentation for *process_info() family of function
|
2024-07-15 07:27:43 +11:00 |
|
flysand7
|
6387cd2c24
|
[os2/process] Added process_info() procedure
|
2024-07-15 07:27:43 +11:00 |
|
flysand7
|
56d55e4a86
|
Rebase master
|
2024-07-15 07:27:43 +11:00 |
|
flysand7
|
6fab055f43
|
[os2/process]: Add process list function
|
2024-07-15 07:27:43 +11:00 |
|
flysand7
|
2495f1c39a
|
[os2/process]: Fill in basic functions
|
2024-07-15 07:27:43 +11:00 |
|
gingerBill
|
3e7e779abf
|
Replace core:* to base:* where appropriate
|
2024-01-28 22:18:51 +00:00 |
|
gingerBill
|
18bde22b26
|
Go to a File based approach over Handle based
|
2022-05-05 16:15:03 +01:00 |
|
gingerBill
|
4eb4ae6305
|
Replace sync with sync2
|
2022-03-30 17:42:44 +01:00 |
|
gingerBill
|
ee876ad66b
|
Strip semicolons
|
2021-09-19 11:59:44 +01:00 |
|
gingerBill
|
ebbc33fdb5
|
Mockup of the new package os interface (incomplete and non-functioning)
|
2021-04-14 19:39:12 +01:00 |
|