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

Add Process.setWorkingDir and IO.openFile (and constructors) #79

Merged
merged 2 commits into from
Jan 13, 2025

Conversation

austin-artificial
Copy link
Contributor

This adds a couple of functions to the standard libary.

Process.setWorkingDir, for when you want a process to run in a certain dir. (This avoids having to cd in and out again).

IO.openFIle. This is useful if you want fine grained control when writing to a file, rather than doing it in one go as Text.writeFIle etc. Typically this is useful when running processes concurrently, and you want the stdout to be written to a file in real time.

@chrisdone chrisdone merged commit 918bb54 into chrisdone:main Jan 13, 2025
1 check failed
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