9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] Shared env in child scripts
@ 2021-05-31  2:30 kjn
  2021-05-31 12:32 ` sirjofri
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: kjn @ 2021-05-31  2:30 UTC (permalink / raw)
  To: 9front

I find the lack of default rfork e in rc scripts irritating.
Inevitably, I end up forgetting to add an 'rfork e' to the top of my
scripts.  Is there a good reason why rc doesn't do an rfork(RFENVG);
on startup?  I understand that it allows a child script to change env
values for its parent, but is that desirable?

Even if that behavior is wanted, I would expect it to be the exception
not the rule.

Does anyone know more about this design decision?

-- KJN


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-06-01  9:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-31  2:30 [9front] Shared env in child scripts kjn
2021-05-31 12:32 ` sirjofri
2021-05-31 14:58 ` kvik
2021-05-31 18:23 ` binary cat
2021-05-31 22:10   ` Stanley Lieber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).