I want to run a program in background and then run another program which is dependent to former one. I'm on Arch-Linux latest version, No gui and I cannot run multiple terminals. If I run this code :
sleep 20 &
it works and terminal gets free to write another command. but when I run my own command like
./Sender.exe
which is a tcp listener console application wrote in c# , it wont free terminal and I need to press enter to get out. In this way application gets stopped.
[1]+ stopped ./Sender.exe
If I write my command like this:
./Sender.exe & command2
second command should run after a sec because /sender.exe needs some time to start to listening on a port, and command2 fails to run.
What should I do? Thanks