Answer to Question #470 in C++ for Hassan Wajahat

Question #470
Hi there, as part of my project i executed the following code to open a new terminal using execl(). On executing the code the terminal does open but in the background since i checked it with the "ps -e" command. How am i supposed to bring it in foreground. The code is here: #include <unistd.h> int main() { execl("/bin/bash", NULL, NULL, NULL); return 0; }
Expert's answer

Not answered

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS
paypal