473,396 Members | 1,891 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Unbale to execute these command in java-No error but no output

HI All,
This is taking lot of time to get the solution.
Any hlep is appreciated.
I have executed some of the win command with java but this particular alone is not executing as expected.
It does not result any error but after execution the file Nightly was supposed to be created which did not happend. Any idea?

Runtime runtime1 = Runtime.getRuntime();
Process proc3 = runtime1.exec("cmd /C C:\\Program Files\\folder1\\folder2\\PsTestFw.exe -CS=xxx.us.ip.com:12001 -CO=XP1 -CP=XP1 -TST=SAMPLESELVA -TC=DEFAULT -EXO=Nightly -LOG=Nightly");
proc3.waitFor();
Jan 2 '12 #1
1 1987
One more update - if I restrict the code till C:\\Program Files\\PeopleSoft\\PeopleSoft Test Framework\\PsTestFw.exe, it is invoking the exe. Hence I guess some issue with swiches passed. Any idea?
Jan 2 '12 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: John Doe | last post by:
Hello, I'm currently working on a little tool that would benefit from having a little embedded script language. Although I have C++ source code available for such a script language, I have 2...
1
by: Sharp | last post by:
Hi I would like to use Java to run the windows command prompt (a program) and execute a particular statement (eg. cd\program\...). Is this possible? Any help appreciated. Cheers Michael
1
by: Valentine Kouznetsov | last post by:
Hi, simple question, how to execute command in current shell, not in subshell? Example. I have environment variable A=aaa and need to invoke shell (sh) script which will do something with A. If...
2
by: david Wilton | last post by:
Hi all, Does anyone know how to execute command line in ASP? thanks David
1
by: josh | last post by:
anybody know why "edit-and-execute-command" doesn't work in python's readline? it doesn't even show up in a dump of readline functions: $ cat fc_test C-p: dump-functions C-e:...
4
by: alberto | last post by:
How can I execute a command of the operating system like "cls" from a C# code? Thank you
1
by: shubhangi | last post by:
Hi, Please check following code. In below code I don't want to display results of "execute (@sql)", but want @cntA to be displayed. Is there any command to stop display of execute command as per...
2
by: Michael | last post by:
Question. Is it possible to run Server.execute command inside global.asa file. if it is where. Inside Application onstart? Another ideas appreciated. Michael
7
by: sonet | last post by:
in perl we can execute command and get result(command line stdout) by $a=`cmdline parameter`; print $a; in c system('cmdline parameter'); but i can not get the result (command line stdout).
4
by: neha_chhatre | last post by:
please let me know if am using command line arguments, how to send arguments to a C program if i am working on ubuntu say for example suppose name of my program is prog.c if argc=3 then how...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.