Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 3

Qt-interest Archive, June 2007
qprocess question


Message 1 in thread

hi,
         Now I write a qt3 program using qprocess to execute another
command.

           shellProc=new QProcess(this);
           shellProc->addargument("xxxx");
           if(!shellProc->start())
         {

           }
it works well when i start  "ping " command by shellproc.
but it can't start when I want to sart  oracle "exp" command, I can't find
out the reason.

any one can help me?

thanks in advance!

gispowerfan

Message 2 in thread

Hi,

> it works well when i start  "ping " command by shellproc.
> but it can't start when I want to sart  oracle "exp" command, I can't 
> find out the reason.
>  
> any one can help me?

Is "exp" in the PATH? Do you provide the whole path to "exp"? Ccould you show 
the exact source code that fails?

What does "exp" do? How do you check it's not started?

--
 [ signature omitted ]