Questions tagged [external-process]
The external-process tag has no usage guidance.
external-process
167
questions
0
votes
0
answers
43
views
Using os.Pipe for multiple shell commands
I want to run an equivalent to:
psql -lqt | cut -d \| -f 1 | grep -qw <dbName>; echo $?
So I'm trying to pipe the output of a command to the input of the next command and eventually read the ...
0
votes
1
answer
65
views
Interract with a .exe program with js instead of typing in the program
Hello I'm tryna make a Skyrim server Dashboard.
The server look like this =>
On this server i can type some command like this =>
when I manualy wrote /help and it show the output.
I tried to ...
1
vote
0
answers
47
views
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:
// ...
0
votes
0
answers
158
views
How to find which process is handling the file?
I am creating a file (e.g. myfile.sql) and I want to open the file in the associated application (e.g. SSMS):
Process proc = new Process();
proc.StartInfo.UseShellExecute = true;
proc.StartInfo....
0
votes
1
answer
799
views
Controlling external program with python
for my studies I need to process a lot of data. The data needs to be analyzed by a program called VMD and should finally be stored in an excel sheet. My aim is to automate the whole process instead of ...
0
votes
1
answer
99
views
Working with (not uploading) large files in ASP.NET
I manage to upload to my asp.net web app site large files (over 10mb). I have changed the web.config for that reason. However the web app gets idle when I work with those large files on my web-server.
...
6
votes
1
answer
444
views
Parallel implementation slower than serial in Julia
Why in the following Julia code the parallel implementation runs slower than the serial?
using Distributed
@everywhere function ext(i::Int64)
callmop = `awk '{ sum += $1 } END { print sum }' ...
-1
votes
1
answer
599
views
Execute an external program from an android app
I need to execute 'nmap' binary for my app. I use the wrapper nmap4j, in which i write the path on the device "sdcard/Nmap/bin/nmap".
try {
nmap4j.execute();
} catch(Exception e) {
System.out....
1
vote
2
answers
386
views
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.
...
0
votes
1
answer
265
views
Javafx mac terminal external process
Using JavaFX, I am trying to run a program a.out on Terminal of Mac OSX. The following code does not work on Mac. The same code works on Windows by writing cmndM={"cmd","/c","start","a.exe"}. What's ...
0
votes
1
answer
83
views
How to create a process on node from a JVM which is running other node
I have got an usecase where I have to call python script from Java program. Java process (JVM) will have to launch a process on other system/node (not within the same node). How this can be achieved?
0
votes
0
answers
242
views
FreePascal FFmpeg started by TProcess stops working
I create TPorocess for ffmpeg to stream a video from /dev/video0 in Linux Ububntu 14.04. After 5 minutes of work the stream send stops and on the receiveng side (ffplay) the picture freezes.
The ...
0
votes
1
answer
221
views
CMake activate external program
I want to run the following command
win_bison.exe --output="calc.tab.cpp" --defines="calc.tab.h" "calc.y"
and then create an executable from the products of this command with CMake
...
-3
votes
1
answer
181
views
Python 3.6: How to spawn multiple external exe instances from function(generator) in multiprocess
How to spawn multiple parallel external exe instances from function(generator) for x1 in x: in multiprocessing manner(to keep always one exec running per cpu thread)? If there is no method to do it in ...
0
votes
1
answer
165
views
How to run a external process on a PyQt5 OSX app, without crashing the app?
I'm currently building an app that uses OCR to extract data from PDF files using PYQT5, and I need to use the terminal to convert the pdf into jpeg's before running the OCR; however, when I run this ...