Timothy Flynn
27478ec7d4
Everywhere: Run clang-format
...
The following command was used to clang-format these files:
clang-format-19 -i $(find . \
-not \( -path "./\.*" -prune \) \
-not \( -path "./Build/*" -prune \) \
-not \( -path "./Toolchain/*" -prune \) \
-type f -name "*.cpp" -o -name "*.mm" -o -name "*.h")
2024-12-28 05:39:32 -08:00
Tim Ledbetter
a450d64ffa
LibCore: Return correct error code from Process::wait_for_termination
2024-12-20 14:59:56 +01: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