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

Suggestion to implement spawnvpe_callback() + fix some stuff on spawnvpe() #195

Closed
wants to merge 60 commits into from

Conversation

elfpipe
Copy link
Collaborator

@elfpipe elfpipe commented Jul 23, 2024

Fooling around with the process creation api.

afxgroup and others added 30 commits June 6, 2024 08:37
…o avoid to release the semaphore twice. Some deferred check to speed up things
…tive(pipe_fd) returns false. Use SetBlockingMode() to set O_NONBLOCK for pipes instead of SetMode().
Fix problems with pipe and O_NONBLOCK.
…__get_default_file is now public but needs to be declared as extern if someone wants to use it (or include dos.h that can come with side effects)
Fixed Spawnv. Added waitpid/wait functions
Reverse the order of SBM_(NON_)BLOCKING. (Second attempt.)
Added ERROR_WOULD_BLOCK == EWOULDBLOCK to __translate_io_error_to_err…
… test if tty functions are working correctly (and it seems not..)
Added handling of O_NONBLOCK fds for select/poll.
Poll mode reported avaibale data,even that isn't the case
elfpipe and others added 29 commits June 27, 2024 20:00
Added private function __search_expand_command_path()
…o because it strips away the constructors..)
…e called and everything is safe at that point
… time. funlock file now check if lock is from correct task
…ation, because it can break the resulting program in cases, where such an object exists on the system path but not in the current dir (stat(EXISTS) will return true in such cases, where the correct answer is false). 2) Comment out/suggest removal of the snip, that tags on the current path to an immediate (no-path) object in unix->amiga path translation, because of a parallel and very opposite case : If the program is trying to execute a command on the system search path, this snip will tag on code, that makes it impossible for the call (for instance popen(command) to find the command).
@elfpipe elfpipe closed this Jul 23, 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.

3 participants