Page Menu
Home
Musing Studio
Search
Configure Global Search
Log In
Files
F10669888
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
799 B
Subscribers
None
View Options
diff --git a/writeas/posts_win.go b/writeas/posts_win.go
index e1e85c1..5db6819 100644
--- a/writeas/posts_win.go
+++ b/writeas/posts_win.go
@@ -1,27 +1,27 @@
// +build windows
package main
import (
"fmt"
"os"
"os/exec"
)
const (
DATA_DIR_NAME = "Write.as"
NO_EDITOR_ERR = "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 start /WAIT "+fname)
+ return exec.Command("cmd", "/C copy con "+fname)
}
func messageRetryCompose(fname string) string {
return fmt.Sprintf("To retry this post, run:\n type %s | writeas.exe", fname)
}
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Fri, May 16, 6:14 PM (1 d, 6 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3240322
Attached To
rWCLI writeas-cli
Event Timeline
Log In to Comment