Questions tagged as 'proceso'

1
answer

Close a recently opened process C #

I need to perform the execution of a process for a certain time, for which I start a process, and using a Timer after 10 minutes, I kill it using Kill() , I do it in the following way: using System.Diagnostics; using System.Thread...
asked by 04.01.2019 / 13:02
1
answer

Pipe malfunction, fork

I am studying how to make pipes to child processes; I wrote this test code that creates a series of children (4 in this example), and opens pipes between them and the parent process (at least I would like that): #include <stdlib.h> #incl...
asked by 12.06.2018 / 12:13
1
answer

Runtine error when using multiprocessing in Windows: freeze_suport ()

This is the code of an audio player (.wav), which uses Matplotlib to graph the spectrum, which I have been modifying: import matplotlib import pyaudio import wave import sys import numpy as np import multiprocessing duration = 12.5 filename...
asked by 29.03.2018 / 02:47
0
answers

Problems with fluency in my app

I already finished my app in android studio, but I have a detail, first of all I use Asynctask to work in the background calls of webservices, almost everything I use this way, but the problem is that I have a screen where I have a listvie...
asked by 20.06.2016 / 17:20
1
answer

Resize / var directory on Linux without Gparted

The resizing of the / var directory was achieved with the Gparted live CD due to the urgency I had in executing the process, however, while waiting for the Gparted .iso it occurred to me to try to resize the partition "live". To complete this ta...
asked by 23.05.2018 / 02:33
2
answers

How to restart a process with NodeJS?

Currently, I'm doing a code to monitor my files in a given directory and see when changes occur, in order to restart the server, the server is express, and it is running from another file, the server has been a sub -process, this is my code:...
asked by 30.12.2016 / 23:28
0
answers

Use TerminateProcess to kill a process

Very good, lately I am having problems when trying to kill any process in C ++. And this is the code: #include <Windows.h> #include <stdio.h> #include <iostream> using namespace std; DWORD pid; int main(){ HWND Ventana = Fi...
asked by 09.06.2018 / 14:29
1
answer

Problem in launching events and processes from a Windows service

I am developing a project in C # in which there is a Windows service ( Windows Service Applications ) whose function is to generate keyboard, mouse events and launch processes. The service itself can be installed and run without problems, b...
asked by 04.08.2017 / 13:19
0
answers

Receive message with GetMessage of type struct and assign it to a variable

I have already sent the message to the desired thread through PostThreadMessage and in the lparam parameter I pass the memory address of the structure I want to send: PostThreadMessage( p->idHilo, WM_USER, 10 , (LPARAM)&estructura);...
asked by 21.05.2017 / 00:47