Replies: 1 comment 8 replies
-
|
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to use cobra to parse command line arguments.
The following is a partial rewrite of the code generated by default.
If you
wails dev
, it will start. However, if I double-click the output executable file from Explorer after doingwails build
, it does not start. However, it can be started from the command line.If you run the commented out
run(nil, nil)
in the main function instead ofcmd.Execute()
(without cobra), you can double-click on the built executable to start it.Also, if I start it from an executable file on the command line, the window is displayed, but it exits immediately from the command line. Is it possible to continue to output stdout and stderr on the command line for post-build debugging?
Environment
Beta Was this translation helpful? Give feedback.
All reactions