Real Software Forums
http://forums.realsoftware.com/

[Answered] Per Session Command-Line Shell
http://forums.realsoftware.com/viewtopic.php?f=23&t=47920
Page 1 of 1

Author:  edb [ Sun May 19, 2013 6:09 pm ]
Post subject:  [Answered] Per Session Command-Line Shell

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...

Author:  timhare [ Sun May 19, 2013 6:29 pm ]
Post subject:  Re: [Question] Per Session Command-Line Shell

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.

Author:  edb [ Sun May 19, 2013 6:33 pm ]
Post subject:  Re: [Question] Per Session Command-Line Shell

Awesome... appreciate it, Tim!

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/