It’s really not recommended to use run(`sh -c ....`)
because it opens you up to all of the quoting problems, security holes, and general confusion of shell interpolation. See: A small package to run string as shell command - #5 by stevengj and Quoting in shell commands
1 Like