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 input to option bag for Command #14297

Open
crowlKats opened this issue Apr 16, 2022 · 3 comments
Open

Add input to option bag for Command #14297

crowlKats opened this issue Apr 16, 2022 · 3 comments
Labels
feat new feature (which has been agreed to/accepted)

Comments

@crowlKats
Copy link
Member

Needs #11618 first.
Ref #11618 (comment)

@bartlomieju bartlomieju added the feat new feature (which has been agreed to/accepted) label Apr 25, 2022
@nayeemrmn
Copy link
Collaborator

From #14358 (comment), I think we should have:

export interface SpawnOptions {
  // ...
  stdin?: "piped" | "inherit" | "null" | Uint8Array;
}

I believe it should apply to spawnChild() as well.

@superboss224
Copy link

Yes, we should add it to execute commands with big input (like md5), but which have a short and simple result

@iuioiua
Copy link
Collaborator

iuioiua commented Jun 13, 2022

#11618 has now been merged. This would be a great little feature to have!

@crowlKats crowlKats changed the title Add input to option bag for spawn & spawnSync Add input to option bag for Command Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat new feature (which has been agreed to/accepted)
Projects
None yet
Development

No branches or pull requests

5 participants