Radar · Go · Archive · Week 36 · Sep 1 – 7, 2025
go1.24.7 released
Nice to knowtooling
- What changed
- Fixes to the go command, and the net and os/exec packages.
- Production impact
- The source does not say.
- Try it
- Run
go versionto confirm you are on 1.24.7 and rungo test ./...to verify the command works. - Source
- go.dev/doc/devel/release#go1.24.7
Understand it, then run it
Run it now
// This program demonstrates that the os/exec package works as expected
// after the 1.24.7 release. It runs the "echo" command and prints its output.
package main
import (
"fmt"
"os/exec"
)
func main() {
// Create a command that prints "Hello, world!".
cmd := exec.Command("echo", "Hello, world!")
// Run the command and capture its combined output.
out, err := cmd.CombinedOutput()
if err != nil {
fmt.Println("Command failed:", err)
return
}
// Print the output to standard output.
fmt.Print(string(out))
}
What it printed when we ran it on Go 1.27.1
Hello, world!
Run sends this program (for Solidity, the contract and its tests) to our own sandbox, where it is compiled and run once, with no network, and what it printed or the test report comes back here. Nothing is kept. Runs are counted per visitor for the day so everyone gets a turn; the details are on the legal page.
Written by gpt-oss-20b from the linked source · claims checked against the sources · archive, not individually reviewed