betabandido (Victor Jimenez)
- Login: betabandido
- Registered on: 12/18/2017
- Last sign in: 01/04/2018
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
01/04/2018
-
06:26 PM Ruby Bug #14198: Error forwarding standard input to subprocess
- Thanks for the suggestions.
The following code snippet based on `IO.popen` seems to work. It executes a command, and it returns its output as an array containing the output lines. Optionally, the output is written to stdout too.
~...
12/18/2017
-
06:01 PM Ruby Bug #14198: Error forwarding standard input to subprocess
- Using `Process.spawn` indeed works :) Unfortunately, I cannot figure out a way to forward the standard output and standard error to the console (i.e, STDOUT and STDERR) as well as storing that output in a variable.
The example in `tes... -
01:33 PM Ruby Bug #14198 (Closed): Error forwarding standard input to subprocess
- I am developing a wrapper for Terraform (https://www.terraform.io/), which at some point during its execution, it may request user input. So, my application must forward everything typed on its stdin to the subprocess' stdin. The followi...