Ruud H.G. van Tol on Tue, 24 Sep 2024 16:29:31 +0200 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: my attempt to find operating system |
On 2024-09-24 15:36, Loïc Grenié wrote:
Maybe externstr("echo quit | gp -f") could do the trick (I don't know if echo worksunder windows, but it should because I think it is emulated).
Nice! Just zooming in: ? select(s->#s, strsplit(externstr("echo quit |gp -f")[2]," "))[1..3] % ["arm64", "running", "darwin"] -- Ruud