Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
runtime.exec
- Page 1
Re: Cannot run exe from asp.net
Programming
Web Development
3 Weeks Ago
by lennyli
….Run(command, 1, True) 'result = objShell.Run(command) 'result = objShell.
Exec
(command) ' Clean up Set objShell = Nothing ' Output the result Response…
Re: Show computer name on a label
Programming
Software Development
1 Month Ago
by toneewa
…->C/C++->General-> Common Language
RunTime
Support->Common Language
RunTime
Support (/clr) Configuration Properties->C/C++->…) Configuration Properties->C/C++->Code Generation-> Basic
Runtime
Checks-> Default Configuration Properties->C/C++->Command…
Re: Show computer name on a label
Programming
Software Development
1 Month Ago
by toneewa
…->C/C++->General-> Common Language
RunTime
Support->Common Language
RunTime
Support (/clr) Configuration Properties->C/C++->…) Configuration Properties->C/C++->Code Generation-> Basic
Runtime
Checks-> Default Configuration Properties->C/C++->Command…
Java Runtime.exec
Programming
Software Development
11 Years Ago
by sankubha
how to run
runtime
.
exec
in java with administrator privelage
Re: Runtime class
Programming
Software Development
18 Years Ago
by meduri99
…Every Java application has a single instance of class
Runtime
that allows the application to interface with the … in which the application is running. The current
runtime
can be obtained from the getRuntime method. An… external process [*]You must use
Runtime
.
exec
() to execute programs [*]You cannot use
Runtime
.
exec
() like a command line[/LIST]
Re: Runtime class
Programming
Software Development
18 Years Ago
by thekashyap
…in my case the command that I execute using
Runtime
.
exec
() expects a password to be input by user… -> Executing: "+lCmdStrStr); Process lChldProc =
Runtime
.getRuntime().
exec
(lCmdStrStr); // Sending the password to the perl script …writeLog(sLogObj.INFO,"JTrcMgrAnalyzeCom -> Failed to
exec
the analyze cmd, exit code of child is:&…
Re: Runtime class
Programming
Software Development
18 Years Ago
by thekashyap
….. I'll try to explain once more: If you do
Runtime
.
exec
("dir"); in your code and run it, you….INFO,"JTrcMgrAnalyzeCom -> Executing: "+lCmdStrStr); Process lChldProc =
Runtime
.getRuntime().
exec
(lCmdStrStr); // Wait for the child to exit lChldProc.waitFor(); BufferedReader…
Re: Runtime class
Programming
Software Development
18 Years Ago
by jwenting
in general: Do NOT use that. There's almost never a need to use
Runtime
.
exec
or any of the other methods from the
Runtime
class unless maybe you're writing a compiler or classloader. Using File works fine, IF you have rights to delete the files. If you don't, running a del command should not work either.
Process started with Runtime.getRuntime().exec() stops responding after a while
Programming
Software Development
17 Years Ago
by the.alchemist
…a problem when I launch OpenVPN using Java
Runtime
.getRuntime().
exec
(), a problem I have been trying to …1 9006 --management-query-passwords"; Process v =
Runtime
.getRuntime().
exec
(cmd); //.. connect to managemant console, enter username and…not sure if it's related : [CODE]The
Runtime
.
exec
methods may not work well for special processes on…
WaitFor Runtime exec to complete (Java)
Programming
Software Development
14 Years Ago
by Tango2010
… -R " + "/filea/ " + "/fileb/"}; Process punixcopy =
Runtime
.getRuntime().
exec
(unixcopy); } catch (Throwable t) { t.printStackTrace(); } [/CODE]
Runtime Error 424 object required (was: Please Help!)
Programming
Software Development
20 Years Ago
by XxMinionxX
Runtime
Error 424 object required happens when I attempt to open …
“RunTime-13” Type mismatch error in code after access 2003 convert to 2010
Programming
Databases
8 Years Ago
by alam_1
“
RunTime
-13” Type mismatch error in code after access 2003 convert to 2010.
Runtime failure
Hardware and Software
Microsoft Windows
4 Years Ago
by 44kerrnilly
runtime
failure is a big issue
Re: Java Runtime.exec
Programming
Software Development
11 Years Ago
by stultuske
afaik, admin privilige is handled by your OS, not your Java application.
Re: Java Runtime.exec
Programming
Software Development
11 Years Ago
by sankubha
thank u :)
Re: Runtime error ??!!
Hardware and Software
Microsoft Windows
20 Years Ago
by DMR
Runtime
/stack overflow errors basically indicate that a running program tried …
Re: Runtime error:453 cannot find dllentrypoint
Programming
Software Development
17 Years Ago
by PVBert
runtime
error 91: somewhere in your code you probably didn't use SET , example: Dim a as SOMEOBJECT a = .... instead of: SET a = New SOMEOBJECT
Re: (Runtime error , compile time error)? difference.
Programming
Software Development
14 Years Ago
by Ancient Dragon
runtime
error: an error that occurs then your program is run such as division by 0, buffer overruns and corrupt stack. There are an infinite (or nearly infinite) number of these errors so its not possible to list them all. compile time error: errors that your compiler produces when it tries to build the program.
Re: Runtime Error '429' - ActiveX Component Can't Create Object
Programming
Software Development
10 Years Ago
by caseywillson
Runtime
error 429 is very common error which occur due to the ActiveX error it means your system warning you to that your computer have corrupted activex file. so you have to fix this error as soon as possible with the help of [windows repair tool](http://www.removewindowserrors.com).
Runtime.getRuntime().exec(String cmd) problem
Programming
Software Development
13 Years Ago
by jackmaverick1
… problem where when I input a command into the
Runtime
class's
exec
function, it doesn't run. When I try … hesitation. My problem results from the following code: [CODE]
Runtime
.getRuntime().
exec
("START "+(new File(files[i]).getAbsolutePath()+".lnk…has google, and it doesn't do any different than
Runtime
does. Thanks, Jack
Re: Runtime class
Programming
Software Development
18 Years Ago
by uh63
…this and I am using java's
Runtime
.process.
exec
() to launch runas.exe I think the… Thanks Uday Here are some code snippets: [code]
Runtime
rt =
Runtime
.getRuntime(); String [] cmd = {"cmd.exe"…;, "/C","D:/Development/saveReport.bat"}; Process process = rt.
exec
…
Runtime.getRuntime().exec(a resource in a runnable jar+" "+other stuff);
Programming
Software Development
15 Years Ago
by TheWhite
… file that contains a .exe that I'm trying to
exec
in my program like a command line function. Usually to… This would be the same as doing this in java:
Runtime
.getRuntime().
exec
("'path to .exe' -option etc etc"); What…
Re: Runtime.getRuntime().exec(String cmd) problem
Programming
Software Development
13 Years Ago
by NormR1
Create the full command as a String before calling the
exec
method and print it out so you can see if it is correct.
Re: Runtime class
Programming
Software Development
18 Years Ago
by thekashyap
…C:/WINDOWS/system32/cmd.exe"; Process lChldProc =
Runtime
.getRuntime().
exec
(lCmdStrStr); BufferedWriter lPout = new BufferedWriter(new OutputStreamWriter(lChldProc…quot;; [/code] PS: I've never used
Runtime
on windows. Problem is you're trying to… and write your command into it. So
Runtime
will pass it on to cmd.exe and…
Runtime.getruntime.exec(); for my java compiler
Programming
Software Development
17 Years Ago
by w32.sysfile
… problem in the running the class compiled.. i use the
runtime
.getruntime().
exec
() method to run the class.. and what happen is…
Runtime class
Programming
Software Development
18 Years Ago
by peter_budo
… code but it didn't work. Where is problem? [code]
Runtime
comPrompt =
Runtime
.getRuntime(); String[] execStr = {"C:/WINDOWS/system32/cmd.exe…", "del C:/Temp/*.tif", "exit"}; comPrompt.
exec
…
Re: Runtime class
Programming
Software Development
18 Years Ago
by peter_budo
…'t. Post the errors you got (stack trace...). Problem with
Runtime
.getRuntime().
exec
(string_cmd) ; is that string_cmd differs from platform to platform…. Second think, I'm not dump to not know that
Runtime
which I tried to implement wouldn't work on Unix…
Re: Runtime class
Programming
Software Development
18 Years Ago
by thekashyap
…could simply be due to requirements. Anyway, just remembered that
Runtime
would create some streams (for input, output and error …streams of the newly created process using
exec
()). You'll have to read (writing is not needed … some errors you can read them from the stream that
Runtime
gives you. I had some sample code, will dig…
Re: Runtime
Programming
Software Development
19 Years Ago
by AstroNox
Dear Richard, I actually wanted to see the command string you passed into [INLINECODE]
Runtime
.getRuntime().
exec
()[/INLINECODE], not the code in the sense of just [INLINECODE]
Runtime
.getRuntime().
exec
()[/INLINECODE]. We all know that this Java statement will generate no problems for the compiler.
Re: Runtime
Programming
Software Development
19 Years Ago
by freesoft_2000
… wanted to see the command string you passed into [INLINECODE]
Runtime
.getRuntime().
exec
()[/INLINECODE], not the code in the sense of just… [INLINECODE]
Runtime
.getRuntime().
exec
()[/INLINECODE]. We all know that this Java statement will generate…
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC