bash - execute terminal from c program -


to run c program this

bash> gcc test.c -o test 

and then

bash> ./test 

how can make test.c execute terminal in window??

xterm -e "./test"

this execute 'test' in new xterm window. assuming linux of course.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -