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