bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] async syscall


From: Juergen Sauermann
Subject: Re: [Bug-apl] async syscall
Date: Sat, 18 Aug 2018 20:08:42 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Thunderbird/52.8.0

Hi Hudson,

You may want to try ⎕FIO[57] or similar (read: ⎕FIO[24] aka. popen() and
⎕FIO[25] aka. pclose() if the communication with the new process is unidirectional).

The & is a shell feature that is not available if a command is executed directly
(like in )HOST or 100 ⎕SVO).

Yet another possibility is a shell script (#!/bin/bash ...) inside which
the process is being backgrounded and call that script with )HOST.

/// Jürgen


On 08/18/2018 07:14 PM, Hudson Flavio Meneses Lacerda wrote:
Hi.
⎕FIO[25]u
How to run a subprocess in background (like system("foo &") in GNU
Octave)?

I have tried:

)HOST gv file.ps &

100⎕SVO'OS'
OS ← 'gv file.ps &'

without success.


Thanks,
Hudson




reply via email to

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