stasoid
10db20a537
LibCore: Implement System::current_executable_path on Windows
2025-03-19 20:25:24 -06:00
rmg-x
aa4dcca0b2
LibCore/Process: Add DupFd
file action
...
This commit provides a new file action allowing callers to provide a
`write_fd` that Process will "redirect" the child's stdin/stdout to.
2024-12-05 17:02:57 -07:00
stasoid
866609c682
LibCore: Make Process::wait_for_termination return exit code
2024-11-19 14:40:03 -07:00
stasoid
3468a83e45
LibCore: Port Process to Windows
...
Windows doesn't have a concept of zombie children, hence:
* `disown` not needed
* we need a process handle because otherwise if the process have ended
by the time `wait_for_termination` is called
its pid may be reassigned to other process
2024-11-19 14:40:03 -07:00
stasoid
4a731b3858
LibCore/Process: Make all spawn
overloads return ErrorOr<Process>
2024-11-19 14:40:03 -07:00
stasoid
61d52c8a3f
LibCore: Remove Process::spawn(StringView, ReadonlySpan<char const*>)
2024-11-19 14:40:03 -07:00
Timothy Flynn
93712b24bf
Everywhere: Hoist the Libraries folder to the top-level
2024-11-10 12:50:45 +01:00