New topic: 

[Answered] Per Session Command-Line Shell

<http://forums.realsoftware.com/viewtopic.php?t=47920>

         Page 1 of 1
   [ 3 posts ]                 Previous topic | Next topic          Author  
Message        edb          Post subject: [Answered] Per Session Command-Line 
ShellPosted: Sun May 19, 2013 6:09 pm                                 
Joined: Sun Dec 10, 2006 7:57 am
Posts: 120
Location: Addison, Texas                Suppose I have a few dozen open 
sessions and each visitor simultaneously clicked on a calculate button on my 
page that called a session-based shell command which all pointed to the same 
external console executable file stored on the server.  Is it possible that any 
of the session-based shell commands will get mixed up with the shell returns, 
and visitors will get a reply which should have gone to another session?  I 
know everything within a session is unique... but is there anything OS-based or 
otherwise within the shell command that would get the information returned out 
of sequence, or is it threaded in a way where it's safe to assume I'll be 
alright in this scenario?  Hope I explained this properly where it isn't too 
confusing as to what I'm asking...      
_________________
Respectfully,
Eric Brown

http://www.facebook.com/ericdbrown      

    Last edited by edb on Sun May 19, 2013 6:33 pm, edited 1 time in total.   
                             Top                timhare          Post subject: 
Re: [Question] Per Session Command-Line ShellPosted: Sun May 19, 2013 6:29 pm   
                      
Joined: Fri Jan 06, 2006 3:21 pm
Posts: 12351
Location: Portland, OR  USA                Each shell spawns its own process, 
so there is no danger of one interfering with another.  Assuming each session 
creates its own shell object, of course.   
                             Top                edb          Post subject: Re: 
[Question] Per Session Command-Line ShellPosted: Sun May 19, 2013 6:33 pm       
                          
Joined: Sun Dec 10, 2006 7:57 am
Posts: 120
Location: Addison, Texas                Awesome... appreciate it, Tim!      
_________________
Respectfully,
Eric Brown

http://www.facebook.com/ericdbrown  
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 3 posts ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to