This question already has an answer here:
- Run a command without making me wait 8 answers
I want implement like this at terminal A, open a new terminal B, run command in B, leave B runing, and back to terminal A, run other command.
I have following script, but not what I expected
#!/bin/bash konsole -e 'sh -c "./tel"' echo test
The problem is,
echo test command won't run, until I close terminal B.
terminal A output
"failed to get the current screen resources QXcbConnection: XCB error: 170 (Unknown), sequence: 170, resource id: 90, major code: 146 (Unknown), minor code: 20"
and wait for terminal B close. after I close terminal B, terminal A output "test".
Is there a way to solve the problem?