[Gambas-user] gambas3 --system-information in a gambas program
Bruce Steers
bsteers4 at gmail.com
Sat May 21 23:23:43 CEST 2022
If i use this code...
Public Sub Button1_Click()
Dim sVar As String
Shell "gambas3 --system-information" Wait To sVar
Print sVar
File.Save(User.Home &/ "gambas-info.txt", sVar)
End
It prints nothing and saves nothing to a file?
i tried using Exec [] and even shell "echo $(gambas3 --system-information)"
also tried 2>&1 suffix.
just can't seem to get it to work :-\
any idea why?
Cheers
BruceS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220521/2c28eaaf/attachment.htm>
More information about the User
mailing list