Debora download command

This commit is contained in:
Jae Kwon
2015-04-20 14:47:59 -07:00
parent f7639bf105
commit 4948fe7725
3 changed files with 62 additions and 1 deletions

View File

@ -31,7 +31,7 @@ const (
// execPath: command name
// args: args to command. (should not include name)
func Create(mode int, label string, execPath string, args []string, input string, outPath string) (*Process, error) {
outFile, err := os.OpenFile(outPath, os.O_RDWR|os.O_CREATE|os.O_APPEND, 0666)
outFile, err := os.OpenFile(outPath, os.O_RDWR|os.O_CREATE|os.O_APPEND, 0600)
if err != nil {
return nil, err
}