[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/
- [Octave-bug-tracker] [bug #45625] fork on command line, Ceral Paquet, 2015/07/25
- [Octave-bug-tracker] [bug #45625] fork on command line, Ceral Paquet, 2015/07/25
- [Octave-bug-tracker] [bug #45625] fork on command line, Rik, 2015/07/25
- [Octave-bug-tracker] [bug #45625] fork on command line, Mike Miller, 2015/07/25
- [Octave-bug-tracker] [bug #45625] fork on command line, Mike Miller, 2015/07/25
- [Octave-bug-tracker] [bug #45625] fork on command line, Ceral Paquet, 2015/07/26
- [Octave-bug-tracker] [bug #45625] fork on command line, Mike Miller, 2015/07/27
- [Octave-bug-tracker] [bug #45625] fork on command line, Rik, 2015/07/28
- [Octave-bug-tracker] [bug #45625] fork on command line,
John W. Eaton <=
- [Octave-bug-tracker] [bug #45625] fork on command line, Rik, 2015/07/28
- [Octave-bug-tracker] [bug #45625] fork on command line, Mike Miller, 2015/07/28