Page MenuHomeMusing Studio

files_win.go
No OneTemporary

files_win.go

// +build windows
package config
import (
"fmt"
"os"
"os/exec"
"github.com/writeas/writeas-cli/executable"
)
const (
NoEditorErr = "Error getting default editor. You shouldn't see this, so let us know you did: hello@write.as"
)
func parentDataDir() string {
return os.Getenv("APPDATA")
}
func EditPostCmd(fname string) *exec.Cmd {
// NOTE this won't work if fname contains spaces.
return exec.Command("cmd", "/C copy con "+fname)
}
func MessageRetryCompose(fname string) string {
return fmt.Sprintf("To retry this post, run:\n type %s | %s", fname, executable.Name())
}

File Metadata

Mime Type
text/plain
Expires
Fri, Oct 10, 4:36 AM (1 d, 22 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3439309

Event Timeline