Questions tagged [external-process]
167 questions
1
vote
3 answers
Blocking the standard error output of a programmatically run system command
I have this program in c++:
#include
using namespace std;
int main()
{
char buf[50];
cin.getline(buf,49);
system(buf);
return 0;
}
When I run and compile it and type for example "helo", my program prints the error:
"helo" not…
Matej
1
vote
1 answer
Batch scripting.. i want to run a command automatically based upon user input
writing a script so that when a certain value is returned it opens cmd. Then using a value that the user has added automatically run a command in cmd. not sure if this is even possible or not but any help would be appreciated.
Thanks
Edited - the…

K0D3-BLU3
- 31
- 2
1
vote
2 answers
Cannot get input stream working in SBCL sb-ext:run-program
While the following works:
(let* ((i (make-string-input-stream "foo bar baz"))
(p (sb-ext:run-program "/bin/cat" '()
:input i :output *trace-output* :wait t)))
(sb-ext:process-close p))
the code below does not - it will stop…

Frank Ruben
- 105
- 7
1
vote
1 answer
Launching External Executable in Windows Azure
My current ASP.NET site requires to launch FFMPEG.EXE to convert uploaded videos. With shared web hosting server, can't be done but via a Virtual Private Server (VPS) or a dedicated server.
I've been reading some info about Windows Azure but…

Eddie
- 197
- 1
- 2
- 11
1
vote
1 answer
Profiling a Python program that calls parallel external programs
Similar to this question on profiling multiprocessing code...
I need to profile my codebase, and I'd planned to use cProfile. This program is essentially a genetic algorithm that runs an evaluation function in parallel. The kicker is that this…

erik
- 3,810
- 6
- 32
- 63
1
vote
1 answer
Java Open external program then close java program
Alright, I have a shutdown hook that makes sure I close my connection nicely whenever I close. What I need to do now is open another program (terminal emulator) then close mine while leaving the terminal emulator open. I am able to open the emulator…

Andrew
- 175
- 1
- 2
- 12
1
vote
1 answer
Emacs Lisp: Which function called?
Is there a way to find out, what function called?
Let's say, there's a handler-function that monitors requests to an external process. Before it processes the requests, it prints them into a log file for later inspection.
Can this function find…

nobae
- 13
- 3
1
vote
1 answer
ProcessBuilder does not find the executable after moving to Spring Boot
I have a java class running as a task (as a plugin in an Java CMS) which used Quartz.
I am now moving it out of the CMS and into a Spring Boot (v1.0.2) project and am using @Scheduled annotation.
The problem i that the ProcessBuilder reports missing…

mamruoc
- 847
- 3
- 11
- 21
1
vote
4 answers
How to add external jar file doc in eclipse?
I am using external jar file in project, but I don't have any idea how to add doc for same project in Eclipse.
I followed TIPS but it's same, nothing reflect on use of
Content assist(Ctrl-Space).
Any suggestion?

CoDe
- 11,056
- 14
- 90
- 197
1
vote
3 answers
Run external app by userinput
So I'm creating a Java program and I want to make it so that you can ask it to open a program.
But, here's the catch, I want the program it opens to be taken from the user input, right now I'm trying to change this
try{Process p =…

user3231227
- 67
- 1
- 8
1
vote
2 answers
Reading in MIPS external file so another file can use it?
Hey all, I'm working on this final thing for my MIPS project and it's deceptively easy. I need to get a procedure (called feed) and let its main driver program use it by reading it in.
I know that I'm supposed to use the call code 14 and .globl sym…

Patrick C
- 739
- 3
- 12
- 25
1
vote
0 answers
JavaFX: how do I use concurrency to read the output of an external process and display it in an FXML TextArea?
Here is a simple example of my problem. Let's say I have a java app that displays a GUI using JavaFX. When the user hits the start button, the app pings an external server for 15 seconds. The idea is that the during this 15 seconds, the output of…

tadasajon
- 14,276
- 29
- 92
- 144
1
vote
3 answers
Ensuring a file is flushed when file created in external process (Win32)
Windows Win32 C++ question about flushing file activity to disk.
I have an external application (ran using CreateProcess) which does some file creation. i.e., when it returns it will have created a file with some content.
How can I ensure that the…

John
- 1,974
- 2
- 25
- 32
1
vote
1 answer
linux command line in a c file
I'm writing a c-file in linux and I need to put 2 commands in my code but I don't know how to do this.
The commands are
sudo hciconfig hci0 piscan
and
sudo hciconfig hci0 noscan
Thanks in advance

Daan Mouha
- 580
- 1
- 6
- 20
1
vote
1 answer
Visual Studio 2012 debug external program -- module list is empty
I created a .Net (C#) DLL to be used from a legacy application via COM. I can start the legacy app, instantiate the COM object, and use it -- no problem. I can start (or switch back to) Visual Studio, select Debug / Attach to Process, and choose…

J.Merrill
- 1,233
- 14
- 27