Opening a terminal from Linux Makefile

Is it possible to open a new terminal tab or window from an existing terminal using a makefile or some c file.

If so, how? Thanks in advance for your reply.

PS I want to do this because first in the terminal I want to run the server file, then I want to open a new terminal and run the file for the client.

From the second terminal, I want to continue running the script.

+2
source share
1 answer

You can try to run xterm(the most affordable terminal window program) with the program to run as a shell argument.

xterm ./my_client &

DISPLAY ​​ - (, , , X- - , ).

, , , , , "" .

+2

Source: https://habr.com/ru/post/1776282/


All Articles