Skip to content

Conversation

@franklinfollis
Copy link
Collaborator

@franklinfollis franklinfollis commented Nov 26, 2025

Ready for review Powered by Pull Request Badge

Summary

Adds a workingDirectory parameter to ProcessShell.ProcessOptions. Allows for specifying what directory a process is going to be run in.

When workingDirectory isn't specified when creating a sub process, we default to the current directory (Path.of(System.getProperty("user.dir")))

Specifically wanted this for stringToTask in SubprocessRunner to be able to create a sub process for the server project in db studio:

stringToTask("elide run", workingDirectory = Path.of(".dev/db-studio/api"))

@franklinfollis franklinfollis self-assigned this Nov 26, 2025
@franklinfollis franklinfollis added the module:cli CLI module issues and features label Nov 26, 2025
@franklinfollis franklinfollis added this to the Release R18: Beta milestone Nov 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module:cli CLI module issues and features

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants