Questions tagged as 'processo'

1
answer

How to make a process wait for the 'brothers'

Hello. I need to create a process tree, so far what I managed to do was create one side of the tree, kill everything and then create the other side. But I need to create the whole tree before and start killing the children and the father. My...
asked by 29.04.2016 / 22:54
3
answers

One process at a time PHP

I would like to know if there is a way to create a queue of processes. For example, whenever I run the processar.php file, if it is already running, it will wait to run after the other is finished. Being run only when "free";     
asked by 19.07.2016 / 19:55
2
answers

How to get a list of processes running windows in python?

I would like to know how to get the processes running from windows and store them in a list in python. from os import system system('tasklist') I know that the code above shows the processes, but I would like to have them put in a list even...
asked by 05.01.2017 / 17:38
1
answer

How to kill processes with Delphi?

I need to make an application in Delphi that terminates processes through the image name, if this is possible tell me how.     
asked by 23.09.2015 / 21:58
1
answer

How to open an executable that requires elevation via C #?

The following code attempts to be able to open an executable file so that you can pass arguments to it once it has been opened. For the code as it is presented, error returned is:    Unhandled exception: Required operation requires elevati...
asked by 27.09.2018 / 18:59
1
answer

How can I write values in another process memory?

I have the memory address, the process, and the value. // Processo var p = Process.GetProcessesByName("ePSXe").FirstOrDefault(); // Endereço IntPtr addr = new IntPtr(0x00A66E11); // Valor var val = 0x63; Now how do I write this value in t...
asked by 20.12.2013 / 05:55
1
answer

Do instances of the same application share static objects?

I'm developing a Windows Form application in C #, and this application can run simultaneously on the same computer multiple times. And I'm not sure if I should use static objects (classes, functions, variables, etc.) because they might be giv...
asked by 17.10.2018 / 21:22
1
answer

Can not use tskill in C #

The tskill command when used via C # (Visual Studio) returns this error:    'tskill' not recognized as an internal or external command, operable program or batch file However the same command when running via the command prompt works wi...
asked by 05.10.2018 / 15:47
1
answer

Verify that the process is running without encountering a limit of 15 characters

With the following code we check if a certain process is running: #!/bin/bash #Verificar se processo abc está em execução if pgrep "abc" >/dev/null 2>&1 then printf "Está em execução.\n" >&2 else printf "Não est...
asked by 07.11.2014 / 18:34
1
answer

How to kill a specific user process on Windows Server?

I have a C # application that ultimately needs to kill a user process that ran, but as I am on a Terminal Server (Windows Server) and there are multiple logged in users, when I put the command to kill the process Process[] processo = Process.G...
asked by 11.08.2015 / 18:59