*- what is slowly versus faster in terms of your application?* I mean using slowly; my application is a graphical simulation application and running at 60 fps but when I called this application from my java code it is running about 40 fps.
*- does your application create a lot of output on stdout?* Yes, my java application and called application(Application.exe) are creating too much stdout. I think you pointed out right location. There are too much stdout producing. Sincerely, Emin On 12 June 2013 00:51, Siegfried Goeschl <[email protected]> wrote: > Hi Mehmet, > > a few questions > > * what is slowly versus faster in terms of your application? > * does your application create a lot of output on stdout? > > Thanks in advance > > Siegfried Goeschl > > > On 11.06.13 20:54, Mehmet Emin PAÇA wrote: > >> Hi, I am running an exe file using commons-exec 1.1 version.But there are >> performance problems occuring. >> I mean when I compared running performances using cmd.exe vs running from >> a java application(using commons-exec), the application which called in >> common-exec is working slowly. But the other application run from cmd.exe >> is working faster. >> >> What can be problem ? >> >> Running exe file from my simple java application code is below: >> >> *CommandLine cmdlLine = CommandLine.parse("** >> Application.exe"); >> >> watchDog = new >> ExecuteWatchdog(**ExecuteWatchdog.INFINITE_**TIMEOUT); >> DefaultExecuteResultHandler resultHandler = new >> DefaultExecuteResultHandler(); >> Executor executor = new DefaultExecutor(); >> executor.setExitValue(0); >> executor.setWatchdog(watchDog)**; >> executor.execute(cmdlLine,**resultHandler);* >> >> >> Running from cmd.exe: >> >> * C:\Users\test.user > Application.exe * >> >> Thanks, >> >> > ------------------------------**------------------------------**--------- > To unsubscribe, e-mail: > user-unsubscribe@commons.**apache.org<[email protected]> > For additional commands, e-mail: [email protected] > >
