From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Execute an OS command and capture output
Date: Mon, 13 Nov 2017 21:34:57 +0100
Date: 2017-11-13T21:34:57+01:00 [thread overview]
Message-ID: <oucvlf$qbe$1@gioia.aioe.org> (raw)
In-Reply-To: oucui1$ohv$1@gioia.aioe.org
On 2017-11-13 21:16, Victor Porton wrote:
> Dmitry A. Kazakov wrote:
>
>> GTK is not Web-based. It is written in C.
>
> I meant that my software (not GTK) is Web based.
Well, Web-based as browser side or web-based as server side. On the
server side you can do anything on the browser side basically nothing.
>>> Is it possible to extract this code and use it separately?
>>
>> Sources of GLib are freely available.
>>
>> But it would be too complicated, especially under Windows were the GLib
>> implementation uses a helper process.
>
> It seems we need a helper process on Linux/Unix too:
>
> From https://codelabs.ch/spawn-manager/index.html
>
> The Ada spawn manager implements the concept described in the GNAT GPL
> package System.OS_Lib. It is used to solve the problem of spawning processes
> at arbitrary times from multitasking Ada programs:
I have no idea why spawning a process should be a problem from a task.
> In your opinion, is it really necessary?
No idea. It is not necessary under with Win32 API. As for Linux I don't
know if Posix calls must be done from a dedicated task. I somewhat doubt
that.
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
next prev parent reply other threads:[~2017-11-13 20:34 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-13 16:38 Execute an OS command and capture output Victor Porton
2017-11-13 16:41 ` Victor Porton
2017-11-13 17:41 ` Dmitry A. Kazakov
2017-11-13 18:52 ` Victor Porton
2017-11-13 20:06 ` Dmitry A. Kazakov
2017-11-13 20:16 ` Victor Porton
2017-11-13 20:34 ` Dmitry A. Kazakov [this message]
2017-11-13 21:09 ` Victor Porton
2017-11-14 9:36 ` Dmitry A. Kazakov
2017-11-13 19:07 ` Victor Porton
2017-11-13 19:22 ` Victor Porton
2017-11-13 20:17 ` Dmitry A. Kazakov
2017-11-14 10:57 ` A. Cervetti
2017-11-13 21:32 ` briot.emmanuel
2017-11-16 1:00 ` Randy Brukardt
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox