Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IO: implement process wrapper for win32 #14

Merged
merged 7 commits into from
Mar 22, 2024
Merged

IO: implement process wrapper for win32 #14

merged 7 commits into from
Mar 22, 2024

Conversation

Hedede
Copy link
Member

@Hedede Hedede commented Mar 22, 2024

  • Moved process into io to reduce code duplication between io and platform. In the future, there's going to be IPC so io is a fitting place.
  • Implemented process for win32
  • Added run() and wait(). For now posix version of wait() doesn't have a timeout parameter
  • Added a simple test to make sure it at least works, but it doesn't cover everything yet

Hedede added 7 commits March 20, 2024 19:09
It is the convention for this project. Should've done it back when I was
porting everything to CMake.
It's inconvenient to keep two separate libraries and somehow share
helpers between them. It makes sense to have "process" in io, so I'm
moving it there.
Provides additional information about the test. For now it's just the
exe_dir to know where the test excutable is located (useful if tests
rely on external data that's bundled with the tet executable)
@Hedede Hedede marked this pull request as ready for review March 22, 2024 11:00
@Hedede Hedede merged commit 4f9221f into master Mar 22, 2024
2 checks passed
@Hedede Hedede deleted the io/process branch March 24, 2024 12:40
@Hedede Hedede changed the title Io/process IO: implement process wrapper Mar 24, 2024
@Hedede Hedede changed the title IO: implement process wrapper IO: implement process wrapper for win32 Mar 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant