Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: wbest116 on January 15, 2007, 12:42:58 pm

Title: background run of command in startup script
Post by: wbest116 on January 15, 2007, 12:42:58 pm
Hello,

I have made my_script in cb(for windows XP), and registered it into "startup.script". But the problem was occured.
I intend to run one program(by using function Execute()) in background before cb start, but my_script don't turn cb on until the previous command had finished in "startup.script".

Of course, It has no problem in linux by organizing follow script.(maybe...)
=> ...
     function Execute()
     {
         IO.Excute(_T("my_program &"));
         return 0;
     }
     ...
     ExecutePlugin(_T("plugin_name"));

But, I have no idea in Windows.

What should I do for solve this problem?
Title: Re: background run of command in startup script
Post by: mandrav on January 15, 2007, 01:10:52 pm
So you want to execute a command and not wait for it to return? Not supported yet.