From cfd1909e165aefa7e7fc305cd961577f40433e6a Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 16 Jun 2019 13:35:32 -0700 Subject: [PATCH] unlink() Signed-off-by: Jeff Carr --- shell.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/shell.go b/shell.go index 7f34821..7d57077 100644 --- a/shell.go +++ b/shell.go @@ -77,6 +77,14 @@ func SetStderr(newerr *os.File) { shellStderr = newerr } +func Unlink(filename string) { + os.Remove(Path(filename)) +} + +func RM(filename string) { + os.Remove(Path(filename)) +} + /* err := process.Wait()