Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Sun Dec 17, 2017 12:53 am
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: [Answered] Per Session Command-Line Shell
PostPosted: Sun May 19, 2013 6:09 pm 
Offline
User avatar

Joined: Sun Dec 10, 2006 7:57 am
Posts: 124
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
 Profile  
Reply with quote  
 Post subject: Re: [Question] Per Session Command-Line Shell
PostPosted: Sun May 19, 2013 6:29 pm 
Offline

Joined: Fri Jan 06, 2006 3:21 pm
Posts: 12388
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
 Profile  
Reply with quote  
 Post subject: Re: [Question] Per Session Command-Line Shell
PostPosted: Sun May 19, 2013 6:33 pm 
Offline
User avatar

Joined: Sun Dec 10, 2006 7:57 am
Posts: 124
Location: Addison, Texas
Awesome... appreciate it, Tim!

_________________
Respectfully,
Eric Brown

http://www.facebook.com/ericdbrown


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group