Questions tagged [external-process]
167 questions
2
votes
0 answers
Wrap external program in JavaFX 2.0 application
I Use Java SE 7 and try to build a demo application to learn new JavaFX 2.
I want to implement a "platform indepent" (unix / windows) ssh connection manager.
I dont really want to implement a ssh client like putty or the terminal under linux/unix…

veote
- 1,400
- 9
- 33
- 62
2
votes
1 answer
Execute and monitor multiple instances of external program in Python
Main program is like this:
PREPARE PARAMETERS FOR CHILD PROCESSES
subprocess.Popen('python child.py param=example1'.split(' '))
subprocess.Popen('python child.py param=example2'.split(' '))
...
How to make main program to monitor each instances of…

jack
- 17,261
- 37
- 100
- 125
2
votes
1 answer
Unix script command not capturing stdin when launched as external process
My situation is similar to Redirect Stdin and Stdout to File. I want to run a program and capture the entire session (stdin and stdout) of running a program as though it had been run interactively from a terminal.
From Dump terminal session to file…

vazexqi
- 211
- 2
- 4
2
votes
4 answers
Run external process from groovy
i have a bash script which i want to execute from groovy like
some_shell_script.sh param1 "report_date=`some_function 0 \"%Y%m%d\"`"
that script runs successfully from the command line, but when i try to execute it from Groovy
def command =…

user1582639
- 161
- 1
- 11
1
vote
2 answers
Control an external process via a website
Lately I've grown some interest in electronics, more specifically the Arduino platform. I've been soldering, and now I have created a device that can turn off my lights and other power related devices via this platform.
The next step is to be able…

tomvda
- 433
- 1
- 5
- 17
1
vote
2 answers
Opening external application inside VB.NET MDI Form
I need to open some external applications such as notepad.exe inside the VB.NET MDI form, and also I need to make sure that there is exactly only one copy of this running always.
I used the code below, but it does absolutely nothing at all. It gives…

Yoosuf
- 882
- 7
- 33
- 52
1
vote
4 answers
Running a program from within Java code
What is the simplest way to call a program from with a piece of Java code? (The program I want to run is aiSee and it can be run from command line or from Windows GUI; and I am on Vista but the code will also be run on Linux systems).
Anas
1
vote
1 answer
Can a web.config from a project be read by an external assembly?
I have actually two projects... an MVC project and a project used for making my own MembershipProvider.
I wish the project that hold the membershipprovider to read my web.config from the MVC project to get the connectionString.
In other words.. when…

Rushino
- 9,415
- 16
- 53
- 93
1
vote
1 answer
Android app: allowing socket access for a program
I am trying to develop an app which calls a external program (written in C) using the Runtime.getRuntime().exec method. This program is basically an gstreamer-based RTSP server, and it works good if I run from the Android command prompt. However,…

Krishnan
- 71
- 2
- 5
1
vote
0 answers
Scala external Process gets hanged
We need to run the following command as external process and process with input/output to insert data and get output.
docker-compose run --rm test-service
The source code sample is provided below:
// For process stuff
import…

Ani Saghatelyan
- 71
- 1
- 1
- 4
1
vote
4 answers
Java external program
I'd like to start external third party application from my Java application. This external application should run all the time whilst my java application runs.
From time to time (it depends on user interaction) my java app should be able to read…

Dejwi
- 4,393
- 12
- 45
- 74
1
vote
1 answer
C# Access internal objects with external code
I have a static progress bar that I'd like to advance during external code execution.
[DllImport("netapi32.dll",EntryPoint="NetServerEnum")]
public static extern int NetServerEnum( [MarshalAs(UnmanagedType.LPWStr)]string servername,
…

coderego
- 33
- 4
1
vote
2 answers
Can't launch external program from Java without closing java app
I'm trying to launch an external program from my java swing app using this:
Process proc = Runtime.getRuntime().exec(cmd);
But the external program never actually gets launched until I close out of my java app...everytime.
It waits to launch only…

Glstunna
- 1,993
- 3
- 18
- 27
1
vote
2 answers
Searching for External Programs
We're working on a WPF application that is going to work closely with other applications. Right now, it is working with Microsoft Excel.
I would like to run some custom code in the install of our WPF application that scans the user's computer and…

Josh G
- 14,068
- 7
- 62
- 74
1
vote
2 answers
Starting from Excel (VBA): Launch an external interactive program, and in there launch commands and read their output : is this possible?
Currently I'm doing the following for analysing a memory leak:
I open both dumps, using Windbg.
I launch heap_stat script, a Python-based script for making a summary of the objects, used in the heap.
I copy the results of both heap_stat scripts,…

Dominique
- 16,450
- 15
- 56
- 112