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
start /min gnuplot.exe cmdfile
start gnuplot.exe cmdfile
cmd.exe /c "start /min gnuplot.exe cmdfile"
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
Post a Comment