Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ 1 2 [3] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Embedding Commands, Like a DOS batch file< Next Oldest | Next Newest >
larkl Offline





Group: Members
Posts: 177
Joined: Sep. 2005
Posted: Sep. 28 2005,22:53 QUOTE

Have you tried doing this with the OPTIONAL in frugal?  I'm finding it to work well.  You download the apps into /mnt/hda1/optional using mydsl, then you use the right click menu to install them only if you need them.  You have to add the path to the opt in grub, but that's about it.  Your approach works (obviously!), but it's more to re-create if you have to reinstall or something.
Back to top
Profile PM 
vrden
Unregistered






Posted: Nov. 18 2005,17:11 QUOTE

This is a nice thread, good information is provided. I have one comment to make concerning stream programming (a Unix concept from decades ago) and that "&" shell directive. The meaning of "&" is [background this process]. Which is implemented as a "fork" system call. Unix is a stream environment because everything is launched inside a process, the "fork" call instructs the batch command to launch a new process for the command. This is why the calling process continues without delay.

So, to think of the application waiting for the first call to complete before continuing is technically wrong, and leads to problems in design as your batch programming progresses. Specifically, when you fork a new process (to load the game), the new process looses all contact with the parent process (your script) and the next call (to execute the game) fails because as far as it is concerned, the game is not loaded yet. Yes, it is loaded but within the separate (forked) process, and therefore not available to the parent process.

Technical I know, but some day you'll appreciate the nuance.
Back to top
11 replies since Sep. 22 2005,15:13 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ 1 2 [3] >/
reply to topic new topic new poll
Quick Reply: Embedding Commands

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code