[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #45625] fork on command line
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #45625] fork on command line |
Date: |
Tue, 28 Jul 2015 19:41:12 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0 |
Follow-up Comment #9, bug #45625 (project octave):
I don't think we lose much by restricting fork to scripts, rather than the
top-level command line.
A normal usage of fork is that the child process goes off and does a lot of
work. But if you are using fork on the command line you're not going to type
a long script in to the child portion of the if/else branch. 1) it's tedious,
2) you might have a typo and it's a pain to rework a long block on the command
line, and 3) the code to execute is usually something you might want to invoke
again, and that means you would want to collect it into a block in an m-file
anyways.
But that's just my opinion. We could also just ignore this as I think it is
pretty uncommon usage.
_______________________________________________________
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, 2015/07/28
- [Octave-bug-tracker] [bug #45625] fork on command line,
Rik <=
- [Octave-bug-tracker] [bug #45625] fork on command line, Mike Miller, 2015/07/28