Run in background ??

Discussion about everything RO and OpenKore related. This place is NOT for ANY kind of support questions.

Moderator: Moderators

sofax222
Developers
Developers
Posts: 214
Joined: 24 Nov 2010, 03:08
Noob?: Yes

Run in background ??

#1 Post by sofax222 »

I run the openkore on my FreeBSD release-7.1.
I has two questions for running in background.

(1) Could I run the openkore with "nohup", let the openkore run in background ?
Such as: > nohup /usr/local/bin/perl < openkore.pl --control=mycontrol
or something else !!

(2) If it, (1), could run in background. How to send the console comand to it ?
EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: Run in background ??

#2 Post by EternalHarvest »

I guess nohup should work, and Kore's socket interface can be used for sending commands.

screen is useful too, and you can just reattach to it when needed.
sofax222
Developers
Developers
Posts: 214
Joined: 24 Nov 2010, 03:08
Noob?: Yes

Re: Run in background ??

#3 Post by sofax222 »

EternalHarvest wrote:I guess nohup should work, and Kore's socket interface can be used for sending commands.

screen is useful too, and you can just reattach to it when needed.
If use Kore's socket to send the commands, I neead the RO client.

I just want to run the openkore in background.
And then, I could do some simple things to openkore with telnet from remote.
EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: Run in background ??

#4 Post by EternalHarvest »

sofax222 wrote:If use Kore's socket to send the commands, I neead the RO client.
Nope, http://openkore.com/index.php/Socket_Interface
sofax222
Developers
Developers
Posts: 214
Joined: 24 Nov 2010, 03:08
Noob?: Yes

Re: Run in background ??

#5 Post by sofax222 »

EternalHarvest wrote:
sofax222 wrote:If use Kore's socket to send the commands, I neead the RO client.
Nope, http://openkore.com/index.php/Socket_Interface
Thanks a lot !
I make openkore to run at background successfully, and control it remotely.
ChibiEbil
Noob
Noob
Posts: 1
Joined: 11 Feb 2011, 04:14
Noob?: No

Re: Run in background ??

#6 Post by ChibiEbil »

I would be intrested in how to hide it while in windows, but still my macros should make the sounds (if something goes wrong x.x)
EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: Run in background ??

#7 Post by EternalHarvest »

ChibiEbil wrote:I would be intrested in how to hide it while in windows, but still my macros should make the sounds (if something goes wrong x.x)
So Windows has different ways of handling the sound from your application based on whether any window from your application is shown or hidden? Or does the problem lie in using secret internet search engines for something like "hide window", since your system got no software repositories?