[Gambas-user] Are DB servers installed and started?

John Dovey dovey.john at gmail.com
Thu Jun 10 16:55:12 CEST 2021


>
>
> In Gambas, you would do the following to obtain $?:
>
>   ' Exec For Read Write but do not read or write anything to avoid
>   ' cluttering the terminal. We only want the exit code.
>   Exec ["systemctl", "status", "postgresql"] Wait For Read Write
>   Print Process.LastValue
>
> That's really elegant and works for more than just this. Thank you for
that.

JD
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210610/27e4889c/attachment.htm>


More information about the User mailing list