octave-maintainers
[Top][All Lists]
Advanced

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

Is fork() broken in octave 5.1 ?


From: Kay Nick
Subject: Is fork() broken in octave 5.1 ?
Date: Thu, 26 Sep 2019 17:37:13 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.0

...or am I getting something wrong here?

Dear folks,

this simple script (forktest.m)

A=23;
[pid, msg]=fork();
if (pid > 0)
  pid
  msg
endif

gives me the error

>> forktest

error: fork: cannot be called from command line
error: called from
    forktest at line 2 column 11

>>

Tested it on Arch Linux as well as Manjaro (64 bit) with all recent
updates installed. Any idea?

Marcin





reply via email to

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