diff options
author | Joseph Hunkeler <jhunkeler@users.noreply.github.com> | 2024-08-28 13:52:00 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-28 13:52:00 -0400 |
commit | f22a121c6667e3139f8695ff1dbcc0b33039f330 (patch) | |
tree | ccc54eaac19a378095b5b6f02716320f70543d2e /src/stasis_indexer.c | |
parent | 97a6697b9fdebda0be31bc03c4db3846d0947281 (diff) | |
download | stasis-f22a121c6667e3139f8695ff1dbcc0b33039f330.tar.gz |
System calls fixup (#38)
* Fix up shell() behavior
* Removes dead code after execl()
* Return the return value of execl() immediately
* Output redirection fix: if f_stderr and redirect_stderr were both set, stderr was not redirected
* Move the file handles into the child process
* Bash now executes with --norc to avoid clobbering environment variables. This mimics /bin/sh behavior.
* Fix test script environment
* shell() already provides a temporary script. Not jumping into another sub-shell should preserve help preserve the top-level environment.
* Try a different approach using declare -f
* Revert "Try a different approach using declare -f"
This reverts commit ea8ec855c3c6870d29c55afe3787afb2c05026a1.
* Revert "Fix test script environment"
This reverts commit 0a4efe972a78378eba5c5fbc6819c39b3cc6c9cb.
* Change script permissions: 0700
* Force conda reactivation in test script
* Switch to the usual environment reactivation method
Diffstat (limited to 'src/stasis_indexer.c')
0 files changed, 0 insertions, 0 deletions