summaryrefslogtreecommitdiff
path: root/shell.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2019-06-16 13:35:32 -0700
committerJeff Carr <[email protected]>2019-06-16 13:35:32 -0700
commitcfd1909e165aefa7e7fc305cd961577f40433e6a (patch)
treed8bd96ba8201c7224345044f8186b7b2888ebbeb /shell.go
parentf2fa2c1d3188264c5fa9f65812c4c35931f63fc9 (diff)
unlink()
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'shell.go')
-rw-r--r--shell.go8
1 files changed, 8 insertions, 0 deletions
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()