Questions tagged [external-process]

167 questions
2
votes
2 answers

Java library for calling exteral programs

I am looking for a JAVA library that facilitates running external programs. Now I run them "manually" in a separate thread and capture I/O. I have several different external tools to run and what I need is a uniform approach to do that. The tasks I…
tnorgd
  • 1,580
  • 2
  • 14
  • 24
2
votes
2 answers

How do I combine .EXE commands in Perl?

I have a set of .EXE commands. How do I get all those commands run in Perl as a single file? Whats the process to call the .EXE files in Perl?
Anil
  • 3,912
  • 5
  • 35
  • 46
2
votes
1 answer

Blocking until process ends in Tiny Process Library

I am writing C++ code that accepts a command line argument, passes it to a system command like echo and prints the response. To communicate with external process, I am using tiny-process-library. The problem with my current code is that it has to…
JSN
  • 2,035
  • 13
  • 27
2
votes
1 answer

ImageMagick compare: exit code 1 when spawned from Node.js, but exit code 0 when run from the command line

$ compare --version Version: ImageMagick 6.9.1-1 Q16 x86_64 2015-04-15 http://www.imagemagick.org Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC License: http://www.imagemagick.org/script/license.php Features: DPC Modules Delegates…
2
votes
1 answer

SSIS Handling Extenal Issues

I have an SSIS package that works fine. The package runs every night and takes about 4 hours to complete. I have am a newb to SSIS, so I want to see what my options are. I am not finding anything on the web about these two issues, so any advice is…
Dustin Laine
  • 37,935
  • 10
  • 86
  • 125
2
votes
2 answers

How to trigger a Symbian C++ application within a J2ME application for Nokia phones using J2ME API?

Anyone knows how to trigger a Symbian C++ application using any J2ME API call? I have a J2ME application that needs a customized photo taking application in Symbian C++. The reason for separating into two applications is because J2ME has a limit in…
kennykee
  • 116
  • 2
  • 7
2
votes
1 answer

Simplest way of calling external program without stream capture

What is the simplest way to call an external program from Java without capturing the stdin/stdout/stderr streams? A simple way for calling an external program is sth like Runtime.getRuntime().exec(new String[] { "/bin/ls", "-la" }); But this…
Alfe
  • 56,346
  • 20
  • 107
  • 159
2
votes
1 answer

Need to get back form controls' information externally

Are there any tutorials or guides out there that anyone knows of that will show me how to read forms from an external program and get back information about the controls on the form? Currently, I can get the handle to the form, and I can get the…
Tom A
  • 1,662
  • 2
  • 23
  • 41
2
votes
1 answer

Porting/Writing WPF application which launches external applications to Silverlight 4 out of browser

WPF launches certain method which calls external exe and waits , and then accesses a file which was an output of external exe. Assuming I would build this application with a consideration of porting to Silverlight 4 later what should I do ?
MicMit
  • 2,372
  • 5
  • 28
  • 41
2
votes
2 answers

Execute external program ( like skype.exe) using php

I have tried launch an external application installed in the C:\Program Files (x86)\Hewlett-Packard\HP MyRoom\MyRoom.exe using php. SAMPLE 1 : I'm using exec function and popen and system. But exec function is not executing the code next to the…
Ananth
  • 1,520
  • 3
  • 15
  • 28
2
votes
1 answer

Ensure the termination of a Application launched by Runtime.exec when tomcat is killed

I launch several external process via a call to Runtime.getRuntime.exec("java myApp"); I monitor the correct launching and execution of the application with some java.concurent.Future. I can tell if the app is launched, in error, stopped. I can…
Antoine Claval
  • 4,923
  • 7
  • 40
  • 68
2
votes
1 answer

Run Non-Visual GUI App from LocalSystem Service

Background We need to run a GUI application from a Windows Service, set to Log On as Local System (and without enabling interact with desktop). The GUI application takes one command-line parameter, performs a specific task and then self-terminates. …
2
votes
3 answers

Execute an external command by passing an array, with spaces in filenames

I have a PHP script that needs to execute programmes that will work on files that have spaces in the names. Most PHP functions for executing external commands (e.g. exec()) take an 1 string argument for the command line to execute. However then you…
Amandasaurus
  • 58,203
  • 71
  • 188
  • 248
2
votes
0 answers

run-program in another directory

SBCL's sb-ext:run-program has an argument called directory. When you pass it, the program you specify will be run in that directory, rather than your cwd. Is there any way of getting the same effect using ccl:run-program?
Inaimathi
  • 13,853
  • 9
  • 49
  • 93
2
votes
1 answer

Closing a modal popup from vb.net?

I want to wait for and close a modal form (a popup) from another application, as soon as it appears. I want to do this from VB.NET, but suggestions in C# should be easily translateable. I can hard-code the modal popup's caption in my app, since it's…
Camilo Martin
  • 37,236
  • 20
  • 111
  • 154