This tag should be used whenever you are attempting to run other programs within your code, such as using one Python program to execute another Python program. This tag isn't language specific, so please specify the coding language(s) used as well!
Questions tagged [running-other-programs]
32 questions
8
votes
4 answers
how to close a running instance of Word document? (C#)
I could see a lot of very similar threads all around, but nothing seem to give me a solution which ought to be very basic.
From my winforms application, I need to close a running instance of a word document (opened from the application itself). When…

nawfal
- 70,104
- 56
- 326
- 368
4
votes
1 answer
Running two python processes
I am running two python codes edited by two different text editors (Eclipse and Spyder), and from task manager I saw two python.exe processes. Will these two processes interfere with each other? I am worried because I used almost the same set of…

Zhiyi Zhang
- 43
- 2
4
votes
6 answers
Error 6 (net::ERR_FILE_NOT_FOUND): The files c or directory could not be found
I am working with scriptcase php code generator, which is installed in a server but i access it via the web. It was fine till someone logged off the administrator of the server (which is the user I use). I restarted the server and logged on as…

Mirela
- 461
- 2
- 10
- 20
2
votes
3 answers
How to run two programs simultaneously on Matlab?
I have one license of Matlab on my computer. I want to be able to run two programs simultaneously in Matlab in order to save my time, but I am not aware of how can I do that. I would like to know how it can be done. Thanks.
user238469
2
votes
0 answers
How to make a website run custom code safely?
I've seen a few other questions that are similar to this question I have, but don't have the answer I am looking for.
I building a website for coding courses (I know there are a lot of them out there already, but I am building it to include all the…

Jacob Hornbeck
- 398
- 2
- 19
2
votes
1 answer
How to continue a code while a loop is already running
I created a code that shows a real time clock at the beginning (works by a loop and refreshing itself in every 1 sec using \r )
But I want to run the rest of the code while the clock is ticking (continuously). But this isn't going any further while…

Ratul Hasan
- 544
- 6
- 14
2
votes
1 answer
How to avoid all possible errors by 'try... except' function
I am running a python code to do continuous web scraping (on linux mint with Python 2.7). Due to some reasons, the code breaks down from time to time. What I have done so far is to manually re-run the code whenever an error occurred.
I want to write…

user3768495
- 4,077
- 7
- 32
- 58
2
votes
1 answer
Run dependency project automatically before running Visual C++ project
I have 2 Visual Studio C projects:
The first is the mainly program,
and the second project creates an input for the first one.
How can I perform automatically the second program before the mainly program is running?
( i.e. The second project will…

user3114639
- 1,895
- 16
- 42
2
votes
3 answers
Batch- do more advanced calculations
In batch, I have trouble doing more advanced calculations with set /a. Decimals won't work; for example set /a 5/2 only outputs 2 instead of 2.5. Also batch can't handle large calculations. Is there a way to just make a temp file (like vbs) or call…

programjm
- 50
- 1
- 8
1
vote
2 answers
Code is running but I am not in that component - Angular
I set an interval in the admin component to check for new messages.
but when I logged out then I noticed that the interval method is still running.
setInterval(() => {
this.service.checkNew();
}, 300);
// Code
checkNew() {
…

Abdulaziz aziz
- 43
- 5
1
vote
3 answers
How do I run different esoteric programs?
I was looking online and i found a cool list of esoteric languages. How would I run these?
http://listverse.com/2011/02/17/top-10-truly-bizarre-programming-languages/
Obviously, each language have its own program, but how do I run it?
user4456024
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
1 answer
How can i stop running exe in C# to start a new instance?
I have a server software that is written in C#. Sometimes I take this error:
Unable to copy file "obj\x86\Debug\Server.exe" to "bin\Debug\Server.exe". The process cannot access the file 'bin\Debug\Server.exe' because it is being used by another…

sanchop22
- 2,729
- 12
- 43
- 66
0
votes
1 answer
Identifying a running program in Windows
I have the following scenario, I need to detect a particular program running in windows before I can execute my program, for example my program needs to know if LogMeIn is actually installed and running to proceed, I have used some approaches like…

willyMon
- 612
- 8
- 19
0
votes
1 answer
Running programs on another computer in C
I am making an FTP in C for learning purposes. I know how to connect to a computer and read/write a file, but I'm having problems with running programs. My idea is to connect to the computer, cd into a directory called Available and run ls -l or dir…

D347th
- 697
- 1
- 10
- 16