java - Two CLI for one process -


is possible create 1 process 2 different cli (commandlineinterface)? have 1 cli real program, , cli chat, can send command program , send messages in chat @ same time, , have different views program , chat.

(edit) program game , chat make communication between player, when start program in eclipse, program strat console , here have 2 console in 1 there game action , state , in other 1 have messages in chat. know can build process 0 , integrate process builder, have in 1 process.

if assume cli mean main terminal execute program, answer no, regardless os.

there couple of options implement additional cli interfaces in same process:

  • listening on socket , waiting client(s) connect e.g. telnet
  • opening window implements cli
  • under unix can spawn e.g. xterm , process io in process

Comments

Popular posts from this blog

matlab - error with cyclic autocorrelation function -

django - (fields.E300) Field defines a relation with model 'AbstractEmailUser' which is either not installed, or is abstract -

c# - What is a good .Net RefEdit control to use with ExcelDna? -