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

Commit 76d047a

Browse files
committed
Fix bug that keeps run command running until user hits enter
1 parent d094e25 commit 76d047a

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)