Skip to content

clarify build instructions for windows - #28

Open
mbaas2 wants to merge 5 commits into
cursork:mainfrom
mbaas2:main
Open

clarify build instructions for windows#28
mbaas2 wants to merge 5 commits into
cursork:mainfrom
mbaas2:main

Conversation

@mbaas2

@mbaas2 mbaas2 commented Jul 20, 2026

Copy link
Copy Markdown

No description provided.

mbaas2 added 5 commits July 20, 2026 15:26
…version+edition+bits spec

The "did not start on port" error now names the binary that was
launched, since PATH can silently resolve to an ancient Dyalog install
(e.g. 14.1, which predates RIDE protocol v2) instead of the intended
discovered version.

-version also accepts a compact "210U64" form (version, C/U edition,
32/64 bits) on Windows, letting Classic builds and a specific bitness
be selected explicitly. Plain "X.Y" strings keep their exact prior
behaviour (Unicode-only, no bits filter).
kill_wait_test.go used syscall.Setpgid/syscall.Kill unconditionally,
which don't exist on Windows and broke `go test ./...` for the whole
package. Split it: platform-neutral tests (rendering, config parsing,
nil-cmd paths) stay in kill_wait_test.go; the tests that spawn
SIGTERM-ignoring Unix processes via sh/trap/process-groups move to a
new kill_wait_unix_test.go under //go:build !windows, matching the
existing proc_unix.go/proc_windows.go split in this package.

TestDyalogEnv also hardcoded a Unix-style expected path, which
filepath.Dir renders with backslashes on Windows — fixed by deriving
the expected value from filepath.Dir/Join instead of a literal string.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant