Faculty of Engineering and Mathematical Sciences 
Not logged in (login)

help4407


This forum is provided to promote discussion amongst students enrolled in Open Source Tools and Scripting (CITS4407).
 
Options:
RSS cloud
Jump to:

Returning Multiple Values: string manipulation vs global variables vs alternatives.

1 of 390 articles shown, currently no other people reading this forum.
photo
From: Christopher M.
Date: Mon 1st Jun 2020, 11:15am
Actions: 
        Login-to-reply

 

"Lee de Byl" <10*0*8*[email protected]*u*e*t*u*a*e*u*a*> wrote:

> Yes, I was referring to external processes, as well as the creation of subshells. Is my understanding correct that both of these 
> Involve forks (at least on Unix & Linux)?

Yes, usually external processes involve forking to get a new child process.
In some cases, the shell can determine if a subshell really needs a new process, and so there may not be a fork in all cases.

Related articles

Returning Multiple Values: string manipulation vs global variables vs alternatives. (all 6) RSS
├─ original   Mon 25th May 2020, 12:09pm, Lee dB.
├─ reply 1   Tue 26th May 2020, 7:53am, Christopher M.
├─ reply 2   Tue 26th May 2020, 1:49pm, Lee dB.  O.P.
├─ reply 3   Tue 26th May 2020, 5:44pm, Christopher M.
├─ reply 4   Mon 1st Jun 2020, 9:23am, Lee dB.  O.P.
└─ THIS   Mon 1st Jun 2020, 11:15am, Christopher M.
This Page


Program written by: [email protected]
Feedback welcome
Last modified: 11:27am Sep 21 2020