[Gambas-user] exec also working as shell why?
PICCORO McKAY Lenz
mckaygerhard at gmail.com
Fri Jan 10 19:59:34 CET 2020
El vie., 10 de ene. de 2020 a la(s) 14:45, T Lee Davidson (
t.lee.davidson at gmail.com) escribió:
> Perhaps because you didn't tell the interpreter to "Wait" for the command
> to finish before continuing on?
>
> If you're simply trying to get the contents of "/etc/courier/authdaemonrc"
> for parsing, then why not just retrieve it into a
> string variable and then parse it without bothering with Process_Read()?
>
yeah.. ¬_¬u
i done inthat way! 6_6u
>
> For example:
> Exec ["cat", "/etc/courier/authdaemonrc"] to cadena
> lineas = Split(cadena, gb.NewLine, "", True)
> For a = 0 To lineas.max
> ...
> Next
>
>
> --
> Lee
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20200110/3f222993/attachment.html>
More information about the User
mailing list