I'm not that familiar with go, but I've tested this fix for #95 locally and it seems to work as intended. I've hardcoded "/bin/sh" as I'm pretty confident that's guaranteed by POSIX to exist. It might need some quotes or escaping if there's a possibility that f.Name() includes spaces or other naughty characters.
I'm not that familiar with go, but I've tested this fix for #95 locally and it seems to work as intended. I've hardcoded
"/bin/sh"
as I'm pretty confident that's guaranteed by POSIX to exist. It might need some quotes or escaping if there's a possibility thatf.Name()
includes spaces or other naughty characters.