[Gambas-user] Stopping a CLI program

Benoît Minisini gambas at ...1...
Tue Dec 10 15:01:41 CET 2013


Le 10/12/2013 14:49, John Rose a écrit :
> Tobias,
> I just realised that a post that I made on the 'Line continuation'
> thread is better in this thread. The details are:
> I liked your ideas of:
> Dim aExec As String[]
> Dim sRes As String
> aExec = ["cat", "/proc/meminfo"]
> ' Use aExec.Add() to add more arguments
> Exec aExec To sRes

---> It is faster and shorter to do:

sRes = File.Load("/proc/meminfo")

-- 
Benoît Minisini




More information about the User mailing list