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

Change directory rather than setting working dir #139

Merged
merged 1 commit into from
Nov 11, 2024

Conversation

runesoerensen
Copy link
Contributor

@runesoerensen runesoerensen commented Oct 16, 2024

This PR changes the way launch process set the current/working directory. In particular, the current directory is changed in the command itself rather than using the launch.toml working-dir setting.

The launch process detection feature is intended to both add convenience, and help users write their own Procfile commands when needed. However, users currently don't have any way to configure the working-dir using a Procfile (and have to cd into the directory in the command). The changes in this PR aims to reduce this gap, and make it a bit easier for users to adapt launch process commands to their own Procfile when needed.

@runesoerensen runesoerensen added the skip changelog Skip the check-changelog check label Oct 16, 2024
Base automatically changed from use-relative-launch-process-paths to main November 10, 2024 00:37
@runesoerensen runesoerensen force-pushed the prefer-cd-over-working-dir branch from a7f1448 to 540838a Compare November 10, 2024 00:39
@runesoerensen runesoerensen marked this pull request as ready for review November 10, 2024 01:10
@runesoerensen runesoerensen requested a review from a team as a code owner November 10, 2024 01:10
@runesoerensen runesoerensen merged commit 39b4dfb into main Nov 11, 2024
5 checks passed
@runesoerensen runesoerensen deleted the prefer-cd-over-working-dir branch November 11, 2024 00:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip changelog Skip the check-changelog check
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants