I have a small piece of C code that I'm trying to run in the background. When I launch the program with
&, I can find the process in top or with ps, and I see the expected I/O display in the terminal or elsewhere, if piped to file or run with
Here's my problem: rather than launching the app and then immediately returning control to the command line, the terminal seems to wait until I hit enter (or use the up arrow to start scrolling through the command history) to display the command line again. Is it possible to launch the app in the background and get access to the command line again without having to hit enter again? I've tried various combinations of
2>&1, etc... no luck.