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

railway shell not grabbing ctrl+c handler from node when installed via pnpm #444

Open
alexng353 opened this issue Aug 21, 2023 · 0 comments

Comments

@alexng353
Copy link
Contributor

alexng353 commented Aug 21, 2023

I say pnpm because I haven't tested npm or yarn, but my hypothesis should hold true for either of those since the way the binary is executed is the same via all three package managers.

hypothesis: The problem is that when cli is installed and run through node, it is run through this file. Then, on ctrl + c the railway.js file quits, killing the underlying cli process.

Experimentally proven to be a problem with pnpm installed version of cli on 2023-08-20, installing manually using a download + editing PATH does not yield the same error

CLI Version: 3.4.0
Installed via: pnpm 8.6.12

Potential fix: detect railway shell startup in the railway.js file

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

No branches or pull requests

1 participant