Questions tagged [running-other-programs]

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!

32 questions
0
votes
1 answer

How do you get pygame to continue to run/look for user input while in the background

I’m looking to make my game work In the background and if WASD is clicked to move the character on the screen regardless if the window for the program is selected or not. To better clarify I’m looking to use an application and simultaneously have my…
0
votes
2 answers

Is there some way to open multiple apps or programs with one GUI?

So my question is: Is it possible to open, for instance, Discord, Chrome, Spotify or any files in "one process/window"? What I mean by that is, if I wanted to be able to open 3 apps but I don't want it to take so many tabs and so much space, I would…
0
votes
0 answers

Best way to run python code and get the output

I am currently working on a IDE /text editor coded in python and would like to add the option to run the code written by the user in a similar way to how it is displayed with IDLE. I have been trying out subprocess and os as well as the exec()…
TheFluffDragon9
  • 514
  • 5
  • 11
0
votes
1 answer

Lazarus: strange behavior running curl via TProcess

I run the 'curl' from Lazarus/FPC application using TProcess like: proc := TProcess.Create(nil); proc.Executable:= 'E:\sendfileemail\curl.exe'; proc.CurrentDirectory:= 'E:\sendfileemail'; proc.Parameters.Add('--upload-file d:\29\ZP_1_2019.eml --url…
gapsf
  • 634
  • 4
  • 8
0
votes
1 answer

Is there a way to capture stdout from this example?

This is for the Windows environment. Compile the testprocess.py (using pyinstaller) and place the resulting exe in a test folder. In the same folder, run the ptest.py. Testprocess.py starts and never ends, writing a number every 3 seconds to…
0
votes
0 answers

Running RegAsm From C#

That's my code: Process regAsmProcess = new Process(); ProcessStartInfo Process_Info = new ProcessStartInfo(); Process_Info.FileName = "C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319\\Regasm.exe"; …
Matan L.
  • 329
  • 2
  • 7
0
votes
0 answers

Get a Username from another Process

im am actually programming a tool for a AntiCheat detection because the publisher it self don´t interested in that to create one. It is almost done the Only one thing we need is to Verify the Username and to get it from the client to verify it with…
0
votes
1 answer

AppleScript : tell running application from set of candidate names

We have published several different versions of an app. They have similar names – Foo Basic, Foo Deluxe, Foo Retro, etc. Similar but different bundle identifiers too. (It wasn't my idea!) Some users have more than one of these apps installed,…
Jerry Krinock
  • 4,860
  • 33
  • 39
0
votes
0 answers

Running automated tests in client machine

Basically my requirement is : I have developed a framework using selenium webdriver,maven and testng for a application under test. Now i have to pass that on to the client without sharing the source code ..so that if he wants he can run the test in…
user3499450
  • 49
  • 1
  • 3
  • 8
0
votes
2 answers

Silent installation of Digitalroute mediation zone

Has anyone installed Digitalroute's mediation zone silently or automated it? Can it be done? I have to automate the installation using command line ( I cant use GUI). Please let me know. Thanks.
Sbal
  • 343
  • 7
  • 20
0
votes
3 answers

how to automate timed running of 2 programs?

I'm working in linux. I have two programs that run for infinite time ( that is , wont stop unless i kill the process ).i want to run program 1 first and then run program 2 after 20 seconds ( both will have to run simultaneously as one reads a file…
trinity
  • 10,394
  • 15
  • 49
  • 67
0
votes
3 answers

Does Windows have its own 'call other .exe' function (C++)

I know in C++ there is a function system("example.exe"); that runs another program, put it requires the include stdlib.h. Because I am already including 'windows.h', is there an equivilant to the system() function in Windows?
user98188
-1
votes
1 answer

how to print a result in cplex other than the decision variable

I want to print the value of pl[i]+pevdis[tvail][number]-pevch[tvail][number] as my result. The following is my code in Cplex. int t=24; int n=20; int j=0; range number =1..n; range tavail=1..t; float soc[number][tavail]=...; //forcasted load…
-1
votes
1 answer

How can I open any specific program in Java?

I want to open 2 different browsers with the same link. I have found how to open the default browser, but I want to open a non default browser as well, and I can't seem to find a way.
-1
votes
1 answer

How to run a keyboard shortcut via a file?

Certain programs for Windows have specific keyboard shortcuts that execute specific functions. I was wondering if there is a way to create a small file that can activate any shortcut by clicking on it? Example: Win+C opens up the charms bar in…