henry.maestu@gmail.com (Henry Maestu)
- Login: henry.maestu@gmail.com
- Registered on: 02/19/2021
- Last sign in: 11/22/2023
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
11/22/2023
-
07:10 AM Ruby Bug #20014: Ruby command line exection ignores what inside of command {}
- nobu (Nobuyoshi Nakada) wrote in #note-1:
> The brace expansion is a feature of `sh`, and multiple arguments form `system` invokes the given command without `sh`.
Thank you!
Executing this in terminal acts same way as ruby.
`sh -c 'df ... -
05:26 AM Ruby Bug #20014 (Rejected): Ruby command line exection ignores what inside of command {}
Ruby command line executions ignore what inside of {}
``` ruby
storage_info = `df -h --exclude={tmpfs,devtmpfs,squashfs} --total`
puts storage_info
# Same with System command. Seems everything inside {} is ignored
r, w = IO....