octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #45625] fork on command line


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #45625] fork on command line
Date: Tue, 28 Jul 2015 19:29:55 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.2.0

Follow-up Comment #8, bug #45625 (project octave):

Shouldn't it be possible to do


pid = fork (); if (pid) [~, sts] = waitpid (pid); else pause (3); exit (3);
endif


at the command line?  I know weird things can happen if you fork and the child
doesn't exit or exec, but this is a power tool so I think it would still be
handy to allow this kind of experimentation directly at the command line.

If we really want a safe mode for things like fork or other potentially
confusing or dangerous functions, then maybe we should have something like the
way Emacs allows certain commands to be disabled for novices.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45625>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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