Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 346 Bytes

readme.md

File metadata and controls

15 lines (12 loc) · 346 Bytes

CMD Process Runner

This package is intended as a holdover until core:process is completed. it allows running cmd /c THE_COMMAND and returns an allocated dynamic array.

main :: proc() {
	data, err := cmd("odin version", true, 128)
	fmt.print(string(data[:]))
}

Prints:

odin version dev-2023-06:a820246f