I have a SW which reside in external HDD, it will run automatically when user plug external HDD, of course, the SW have to close automatically when user unplug the external HDD. I can receive the device lost message, however my SW will not be respond druing releasing all objects, if I call exit(0) directly, the SW will show a crash messa...
This is a tad complicated of an issue with very little information I can provide so please bear with me or ignore.
I am developing a small Swing/JOGL program and am attempting to include a java runtime within my program so that I can simplify JVM setup for my user. My program is being run off a batch file which calls my packaged java.ex...
I use a service application I created in Delphi. My problem is that it is sometimes terminated by the operating system and I don't know why this happens.
When I go the the system events, I can find a piece of information like this one:
Event ID: 7034, The [...] service terminated unexpectedly. It has done this [...] time(s).
I know yo...
What's the best way to quit a Java application with code?
...
I am struggling with the classic problem of typing password automatically in ssh, and like
everybody else I am stumbling in the dark regarding expect. Finally I cobbled together a script that kinda work:
#!/usr/bin/expect -f
# command line args
set user_at_host [lrange $argv 0 0]
set password [lrange $argv 1 1]
set timeout 1
# ssh c...