Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How should i use setTimeOut() for a command which is killing time so that i can come out of it and execute another command #10

Open
GoogleCodeExporter opened this issue Apr 20, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Hi Everyone,
i use enchanter jar and the methods to get connected to server and it 
really working very fine. But some times what happens is like a comamnd 
like reading a file is taking time and total my job is getting struck.
2. What is the expected output? What do you see instead?
im using
cat <some file>
and the above command is taking high time and some times its getting 
hunged due to improper loggging into the file. In that case i just want to 
set timeout for everycommand , if it fails to execute the comamnd in say 
like 10 secs it shud come out of that command and then it shud be able 
execute next set of commands by not wastng time.

3. What version of the product are you using? On what operating system?
enchanter-core-0.5.jar  and linux system.

Please provide any additional information below.

Any help is really appreciated. Thanks in advance

Original issue reported on code.google.com by harish.k...@gmail.com on 28 May 2010 at 9:43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant