Suppose I have a variable `x = "abc"` I need to cat a file `abc.yml` I write ` Open3.popen3("cat #{x}.yml")` --------------------- (1) This will lead to Command Injection warning. So we need to pass the arguments seperately ...Rushyanth (Rushyanth reddy)
Sorry my bad. That was typing error while raising the issue. Its actually `Open3.popen3()`. Its mentioned correctly in the subjectRushyanth (Rushyanth reddy)
In console when we write ```stdin, stdout, stderr, wait_thr = Open3.popen3("cat .*.yml")``` All the files with names starting with ``` .``` and ending in ```.yml``` are shown But when we do ```stdin, stdout, stderr, wait_thr = Ope...Rushyanth (Rushyanth reddy)
In console when we write ```ruby stdin, stdout, stderr, wait_thr = Open3.popen4("cat .*.yml") stdout.readlines ``` All the files with names starting with `.` and ending in `.yml` are shown But when we do ```ruby stdin, stdo...Rushyanth (Rushyanth reddy)