Call gnuplot.exe without command prompt popping up & stealing focus of top window -


ok guys, please me. how call "gnuplot.exe" within program without a) showing cmd window half second, , b) not window in focus on top, 1 below.

so not screw shit through showing cmd.exe, messes around top window.

i tired call through

  1. start /min gnuplot.exe cmdfile

  2. start gnuplot.exe cmdfile

  3. cmd.exe /c "start /min gnuplot.exe cmdfile"

  4. cmd.exe /c "gnuplot.exe cmdfile"

all system() , createprocessa sw_hide; startf_useshowwindow && create_no_window

when use 1. approach within command promt there no additional cmd.

if use 2. createprocess @ least not steal top window's focus.

btw: tried gnuplot.exe, pgnuplot.exe & wgnuplot.exe

thanks in advance

without knowing exact details of trying do, need here gnuplot's -persist option. keep gnuplot running after command executed.

gnuplot.exe -persist cmdfile  

Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -