On Fri, Nov 18, 2016 at 11:21 AM Ondrej <[email protected]> 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 [email protected].
For more options, visit https://groups.google.com/d/optout.