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
Copy link
Copy Markdown
Collaborator

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

Run: 16349437381

Env ✅‌pass 🙈‌skip
✅‌ aws linux 302 426
✅‌ aws windows 303 425
✅‌ aws-ucws linux 408 326
✅‌ aws-ucws windows 409 325
✅‌ azure linux 302 425
✅‌ azure windows 303 424
✅‌ azure-ucws linux 410 323
✅‌ azure-ucws windows 411 322
✅‌ gcp linux 301 427
✅‌ gcp windows 302 426

@anton-107 anton-107 added this pull request to the merge queue Jul 18, 2025
@github-merge-queue github-merge-queue Bot 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 queue Jul 18, 2025
Merged via the queue into main with commit a338fdb Jul 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 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