Sponsored Content
Top Forums UNIX for Dummies Questions & Answers What is meant by subprocesses? Post 302406224 by Straitsfan on Monday 22nd of March 2010 10:21:40 AM
Old 03-22-2010
My apologies -- but your explanation is fine. So I'm guessing that a subprocess consists of other executions required to carry out the primary executions of said instructions?

so when something is 'known' to a subprocess, it means what?

Here are the paragraphs that confused me:

"Some of the variables discussed above are used by commands you may run -- as opposed to the shell itself -- so that they can determine certain aspects of your envrionment. The majority, however, are not even known outside the shell.

This dichotomy begs an important question: which shell "Things" are known outside the shell, and which are only internal? This question is at the heart of many misunderstandings about the shell and shell programming. Before we answer, we'll as it again in a more precise way: which shell "things?" are known to subprocesses? Remember that wenever you enter a command, you are telling the shell to run that commmand in a subprocess; furthermore, some complex programsmay start their own subprocesses. Now for the answer, which (like many UNXI concepts) is unfortunately not as simple as you might like. "A few things are known to subprocesses, but the reverse is not true: subprocesses can never make these things known to the processes that created them.

Which things are know depends on whether the subprocess in question is a bash program or an interactive shell. If the subprocess is a bash program, then it's possible to propagate nearly every type of thing we've seen in this chapter -- options and variables -- plus a few we'll see later."

To which I respond: Huh? Smilie

I ask because the following section i the book concerns what are called environment variables, and if I know what a subprocess is, then I can make sense of the section better.

Maybe I should have just quoted this at the beginning, come to think of it. Apologies again.

Last edited by Straitsfan; 03-22-2010 at 11:33 AM..
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Please help me with this script meant for checking /etc/passwd if a name exists

I'm trying to create a program that includes variety of duties. One of the duties includes deleting a user if the user name exist in the /etc/passwd file. how do i make that happen. those of you that know about this shell programming, please tell me what i should do after the shell reads... (4 Replies)
Discussion started by: TRUEST
4 Replies

2. UNIX for Advanced & Expert Users

possibility to call subprocesses from ksh ??

Hi!! Is there a possibility to call/start a subproces using ksh ?? Hope that there is somebody to help me. thanks in advance. Corine (3 Replies)
Discussion started by: TheBlueLady
3 Replies

3. UNIX for Dummies Questions & Answers

What is meant by Kernel Parameter "dflssiz" in Digital Unix (OSF)

Hi, We have a Digital Unix Server with OSF. There's a Kernel Parameter "dflssiz" on this server. I just want to know, what it means. Thanks (2 Replies)
Discussion started by: sameerdes
2 Replies

4. UNIX for Dummies Questions & Answers

What is meant by <<! ... ! ??

I tried typing it into google but no results. I don't know what it's called or what it does and when it is used so I must ask: What does it mean if you have something like... cmd <!! cm2 cm3 ! What do those <!! and ! symbols do? When/why do you use them? I found it inside a bourne... (2 Replies)
Discussion started by: yongho
2 Replies

5. Post Here to Contact Site Administrators and Moderators

What is meant by the words under usernames?

Under all users, there are some keynames. Some are obvious, like Moderator and Registered User. I have seen others too. What do they mean or signify?;) (2 Replies)
Discussion started by: joeyg
2 Replies

6. UNIX for Dummies Questions & Answers

What is meant by "exit $?"

What is meant by "exit $?" (4 Replies)
Discussion started by: santosh149
4 Replies

7. UNIX for Dummies Questions & Answers

What is meant by "LDAP Instances"?

What is meant by "LDAP Instances"?any clarification or examples? (2 Replies)
Discussion started by: ahmedamer12
2 Replies

8. UNIX for Dummies Questions & Answers

How to kill a script and all its subprocesses?

I'd like to terminate scripts. These scripts are not by me, but other persons. These contain other programs such as ping, nmap, arp, etc. If such a script is running, how can I terminate this script AND all processes called by this script? These scripts are big so terminating all programs... (4 Replies)
Discussion started by: lordofazeroth
4 Replies

9. Shell Programming and Scripting

Shells, forks, subprocesses... oh my

all, i've been reading to try and get an abstract idea of the process effeciency of commands , sed, bash, perl, awk, find, grep, etc which processes will spawn?, fork?, launch subshell?, etc and under what conditions? how do you know which commands have the faster and better stdio... (2 Replies)
Discussion started by: f77hack
2 Replies
books(3)							       Coin								  books(3)

NAME
books - Books Related to Open Inventor / Coin Here is a list of some of the better books for people that invested in software development with Open Inventor. If you have suggestions for additional books that ought to go on this list, please feel free to tell us about it. The Inventor Mentor (subtitle 'Programming Object-Oriented 3D Graphics with Open Inventor') This is an excellently written, detailed, tutorial-style introductory book for Open Inventor that takes you through all the fundamental design principles applied in the Open Inventor API, richly illustrated and with numerous, well documented code examples. The Inventor Mentor is getting a bit old, but do not let that put you off. It is as valid today as it was the day it was written, and we heartily recommend this book for anyone learning to use Open Inventor. ISBN 0-201-62495-8. You might also be able to find this book as a pdf file online, but we recommend having it in print. The Inventor Toolmaker This book explains how Open Inventor was designed for being extended by the users, and walks you through how to develop your own components that work with all aspects of Coin. ISBN 0-201-62493-1. You might also be able to find this book as a pdf file online, but we recommend having it in print. The Annotated VRML2.0 Reference Manual This book covers the VRML97 (aka VRML 2.0) standard, which Coin has implemented with its Inventor/VRMLnodes/* classes, which is an extension made beyond the Open Inventor V2.1 API. The VRML97 format has some significant differences from the Inventor and VRML1 formats, so it is a useful book if you want to use that part of Coin. ISBN 0-201-41974-2. You will find the specification documents for VRML97 online at http://www.web3d.org/. The Open GL Programming Manual This is the bible when it comes to OpenGL programming and is relevant for Open Inventor extenders that develop new nodes that implement or affect Open Inventor OpenGL rendering. There are many editions of this book since it is updated whenever new versions of OpenGL are standardized and comes out, so check that you have identified the latest edition if you order one. The Open Inventor C++ Reference Manual Although this book is directly relevant for Open Inventor, it does only cover the Open Inventor 2.1 API. This information is more or less also covered in the online doxygen doc for Coin, where you have it hyperlinked, and can also be generated offline from the Coin sources to have locally, so we do not think this book is very useful to have in print. We mention it anyway since it is an official documentation book for Open Inventor. ISBN 0-201-62491-5. Version 3.1.3 Wed May 23 2012 books(3)
All times are GMT -4. The time now is 12:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy