Skip to content

Change execv to use current directory as a working directory if no directory is provided - #3267

Merged
anton-107 merged 1 commit into
mainfrom
anton-107/execv-empty-wd
Jul 18, 2025
Merged

Change execv to use current directory as a working directory if no directory is provided#3267
anton-107 merged 1 commit into
mainfrom
anton-107/execv-empty-wd

Conversation

@anton-107

Copy link
Copy Markdown
Contributor

Why

This is a follow-up for the comment in the previous PR #3128 : #3128 (comment)

Tests

  • Existing acceptance test on cmd/psql is still passing even though the production code is not specifying a directory
  • Manually checked that when executed with pwd the process prints current working directory on Mac and on Windows

@eng-dev-ecosystem-bot

eng-dev-ecosystem-bot commented Jul 17, 2025

Copy link
Copy Markdown
Collaborator

Run: 16349437381

Env✅‌pass🙈‌skip
✅‌aws linux302426
✅‌aws windows303425
✅‌aws-ucws linux408326
✅‌aws-ucws windows409325
✅‌azure linux302425
✅‌azure windows303424
✅‌azure-ucws linux410323
✅‌azure-ucws windows411322
✅‌gcp linux301427
✅‌gcp windows302426

@anton-107
anton-107 added this pull request to the merge queueJul 18, 2025
@github-merge-queue
github-merge-queueBot removed this pull request from the merge queue due to failed status checks Jul 18, 2025
@anton-107
anton-107 added this pull request to the merge queueJul 18, 2025
Merged via the queue into main with commit a338fdbJul 18, 2025
13 checks passed
@anton-107
anton-107 deleted the anton-107/execv-empty-wd branch July 18, 2025 11:57
denik pushed a commit that referenced this pull request May 20, 2026
…rectory is provided (#3267)
## Why
<!-- Why are these changes needed? Provide the context that the reviewer
might be missing.
For example, were there any decisions behind the change that are not
reflected in the code itself? -->
This is a follow-up for the comment in the previous PR #3128 :
#3128 (comment)
## Tests
<!-- How have you tested the changes? -->
- Existing acceptance test on cmd/psql is still passing even though the
production code is not specifying a directory
- Manually checked that when executed with `pwd` the process prints
current working directory on Mac and on Windows
<!-- If your PR needs to be included in the release notes for next
release,
add a separate entry in NEXT_CHANGELOG.md as part of your PR. -->
Sign up for freeto 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

@anton-107@eng-dev-ecosystem-bot@shreyas-goenka