Skip to content
This repository was archived by the owner on Feb 16, 2023. It is now read-only.

Commit d4a1f86

Browse files
Merge pull request #249 from secrethub/fix/stdin-bug
Fix stdin bug
2 parents d094e25 + 76d047a commit d4a1f86

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internals/secrethub/run.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ func (cmd *RunCommand) Run() error {
243243

244244
command := exec.Command(cmd.command[0], cmd.command[1:]...)
245245
command.Env = append(passthroughEnv, mapToKeyValueStrings(environment)...)
246-
command.Stdin = cmd.io.Stdin()
246+
command.Stdin = os.Stdin
247247
if cmd.noMasking {
248248
command.Stdout = cmd.io.Stdout()
249249
command.Stderr = os.Stderr

0 commit comments

Comments
 (0)