On Fri, Nov 18, 2016 at 11:21 AM Ondrej <ondrej.ko...@gmail.com> wrote:
Not sure if it's correct, just an idea (error handling elided): func main() { ... exec.Cmd(browser, pathName).Start() syscal.Unlink(pathName) } The temp file in pathName will be deleted when the browser closes the file. -- -j -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.