I'm not - sec_go is a directory: [image: Screenshot 2020-09-21 091724.png]
This looks as expected ? On Mon, 21 Sep 2020 at 09:15, Tamás Gulácsi <tgulacs...@gmail.com> wrote: > You're building src_go.exe (-o of go build), and running orabench.exe. > > > walter....@gmail.com a következőt írta (2020. szeptember 21., hétfő, > 8:51:19 UTC+2): > >> My code is here: >> >> [image: Screenshot 2020-09-21 084403.png] >> >> My script is here: >> >> >> [image: Screenshot 2020-09-21 084604.png] >> >> Logfile: >> >> [image: Screenshot 2020-09-21 084819.png] >> >> Same problem with os.Exit(1). >> >> What am I doing wrong? >> On Monday, 21 September 2020 at 05:38:11 UTC+2 Kurtis Rader wrote: >> >>> I also wrote a trivial Go program that did nothing more than >>> `panic("WTF")` and it results in an exit status (ERRORLEVEL) of two in both >>> a MSYS2 bash shell and a native cmd.exe shell. So, it is likely you are not >>> testing what you think you are testing. >>> >>> On Sun, Sep 20, 2020 at 7:44 PM Walter Weinmann <walter....@gmail.com> >>> wrote: >>> >>>> Sorry - unfortunately I am a beginner. >>>> >>>> I have a Golang program that runs on an error and ends with panic(). >>>> When running on Windows 10 the value of ERRORLEVEL is 0, the same happens >>>> when the program is terminated with exit(1). >>>> >>>> What am I doing wrong? >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "golang-nuts" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to golang-nuts...@googlegroups.com. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/golang-nuts/a875f3d3-0f51-4cd8-91d5-5cf08f51223an%40googlegroups.com >>>> <https://groups.google.com/d/msgid/golang-nuts/a875f3d3-0f51-4cd8-91d5-5cf08f51223an%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> >>> >>> -- >>> Kurtis Rader >>> Caretaker of the exceptional canines Junior and Hank >>> >> -- > You received this message because you are subscribed to a topic in the > Google Groups "golang-nuts" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/golang-nuts/pQR3qH3JQ2g/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/51159fc4-9399-4b92-8cbd-fd6ad97bbe28n%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/51159fc4-9399-4b92-8cbd-fd6ad97bbe28n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- ___________________________________________________________________________ *Walter Weinmann* ___________________________________________________________________________ Grabenstrasse 13 CH-6004 Luzern Mobile: +41 (0)76 477 27 87 Phone: +41 (0)61 841 06 10 ___________________________________________________________________________ -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CACe_jXfKb%2BVd1%2BGw33D1fVqyNZu8VT-vx9JrRtczOJoc4mpPDQ%40mail.gmail.com.