I'm running a program (concretely xfoil) and during calculations it opens and closes a window automatically. I would like the pop-up window to keep hidden.Create control file:cat <<EOF > controlfile.xfoilNACA 0012GDESFlap0.8 0.0425 0.1eXecOPERRE 1388888MACH0.0561930287789vITER300ALFA 10FMOM 0.8 0.0425QUITEOFRun file from terminal and save output:xfoil < controlfile.xfoil >outputfile.outWhen running it you'll see briefly a pop-up window.How can I keep the pop-up window hidden? Luckily the source code of xfoil is available and I could compile a version without the window, but I would prefer not having to.
Hide xfoil pop-out window
window
It is a bit excessive, but you can start a 2nd X11 server with no framebuffer and direct your display there:Xvfb :1 &sleep 2DISPLAY=:1 xfoil <controlfile.xfoil >outputfile.outkill -15 $!