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

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -