Skip to content

fix: use cwd to restart - #25

Merged
pratik-anurag merged 1 commit into
pratik-anurag:mainfrom
samyakbardiya:fix/restart-with-cwd
Jan 26, 2026
Merged

pratik-anurag merged 1 commit into
pratik-anurag:mainfrom
samyakbardiya:fix/restart-with-cwd

Conversation

@samyakbardiya

Copy link
Copy Markdown

Solves #23

I have tested this on macOS 15.7.3 arch64 & Arch Linux 6.17.8 arch64, working fine on both.

Changes

  • get cwd as per OS
    • darwin: lsof -a -p <pid> -d cwd -Fn
    • linux: pwdx <pid>
  • add this directory before executing the restart command

@pratik-anurag
pratik-anurag merged commit b48fa84 into pratik-anurag:main Jan 26, 2026
4 checks passed
@samyakbardiya
samyakbardiya deleted the fix/restart-with-cwd branch February 7, 2026 14:17
@samyakbardiya
samyakbardiya restored the fix/restart-with-cwd branch February 7, 2026 14:18
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.

2 participants