View Single Post
  #4   (View Single Post)  
Old 5th December 2011
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,319
Default

Quote:
Originally Posted by steamrent View Post
When it drops back into the shell, I would like it to instead, within the same shell, have sic...
I suspect we all were thrown by the use of the word "shell" as it appears that you are referring to two different things -- one, a state of the application during execution, & two, the "shell" used for general system interaction -- Korn shell, bash shell, etc.

From your description, it appears under certain conditions, sic simply terminates, & this is the behavior you wish to change -- as you wish to execution to not terminate. Creating a wrapper around sic as it currently is will not change its termination logic. It appears what you want to do is change the behavior of sic itself. You will need to study the source code to see where the execution logic needs to be changed, or find a forum/mailing list which focuses on the application itself.

Now, if you don't care if a different instance is started, then I would play further with a simple wrapper as jggimi originally suggested.
Reply With Quote