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

Support Path for chdir arg in Process methods #11932

Merged

Conversation

caspiano
Copy link
Contributor

@caspiano caspiano commented Mar 26, 2022

Update chdir : String? to chdir : Path | String? in...

  • Process.new
  • Process.run
  • Process.exec

Internally, chdir is passed to Dir.chdir which accepts a Path | String, see this line.

@beta-ziliani beta-ziliani added this to the 1.5.0 milestone Mar 29, 2022
@straight-shoota straight-shoota merged commit 22b34c1 into crystal-lang:master Apr 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants