Skip to content
Advertisement

How to start java program with hidden terminal

How can i create shell script for linux, Which will start my java program and then exit itself

Like:- create new process with no terminal-> java “Test”. exit terminal itself.

i have tried with Fork and exec but i couldn’t get any of it please help me

Advertisement

Answer

I solved this by using Python script, which is pritty straightforward to use. Just add process as background process n it will start terminal hidden

Else Put & symbol after your program

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement