subprocess icon indicating copy to clipboard operation
subprocess copied to clipboard

Why do not use Shellwords.join method?

Open SwagDevOps opened this issue 7 years ago • 0 comments

https://github.com/stripe/subprocess/blob/b914fb4748ec7fbcc7433cfe92a89e8ba20ce0c1/lib/subprocess.rb#L149

@command, @status = Shellwords.join(cmd), status

https://ruby-doc.org/stdlib-2.5.0/libdoc/shellwords/rdoc/Shellwords.html#method-c-shelljoin

SwagDevOps avatar Aug 11 '18 00:08 SwagDevOps