
-----------------------------------
registration
Sun Jan 10, 2010 5:19 pm

Exiting a process
-----------------------------------
Say you have a set music to play for the menu, and when they choose something you want to play some other music, how do you exit the music you used "fork" on previously? (and say the process you forked is a never ending loop)

Basically I want to stop playing a certain background music if they click something.

-----------------------------------
registration
Sun Jan 10, 2010 5:25 pm

Re: Exiting a process
-----------------------------------
and also, a second question: how do you deny termination via the X button?

-----------------------------------
Ktomislav
Sun Jan 10, 2010 5:45 pm

Re: Exiting a process
-----------------------------------
Well, go to Turing documentation and search for "Music.PlayFileStop".

-----------------------------------
Euphoracle
Sun Jan 10, 2010 7:39 pm

RE:Exiting a process
-----------------------------------
you can't deny termination from the x button.  why would you want to anyway?

-----------------------------------
TheGuardian001
Sun Jan 10, 2010 7:55 pm

Re: RE:Exiting a process
-----------------------------------
you can't deny termination from the x button.  why would you want to anyway?

Not technically true. While you can't deny termination from within the program's source, it is provided as an option when generating a standalone executable.
