guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

system calls


From: Tomas By
Subject: system calls
Date: Wed, 02 Sep 2015 02:09:49 +0200
User-agent: XS4ALL Webmail

Hi all,

In a Guile program I am using (system <string>) to start a C binary which I then communicate with over the network.

I'm wondering if there is any way to get the process id of this binary?

Have tried to call "ps -A|grep <name>" using with-output-to-string and with-error-to-string, but am not getting the system call output. Also, this is a very crude approach.

Cannot find anything useful in the Guile manual.

Perhaps there are some libaries with a more sophisticated system call API?

Grateful for any suggestions.

/Tomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]