I've used Process.Start to shell out and call 7zip to archive stuff
I've also used it to call ffmpeg to compress video files.
That was a while ago..but I rememeber there was some issue about the pcocess stalling if you don't read off the standardoutput/error. I don't remember everything about it. Does anyone have experience using Syste...
I have a program that needs to check the state of an icon in the system tray. The program in the system tray swaps it's icon depending on it's communication status with the server and I need to check which Icon it is using right now. I found a way to extract the current icon, but how do I check which Icon that is?
...
Hi there,
I'm studying for my final exams in my CS major on the subject distributed systems and operating systems.
I'm in the need for a good definition for the terms task, process and threads. So far I'm confident that a process is the representation of running (or suspended, but initiated) program with its own memory, program counter...
I've searched for a while, but I can't find anything related on Google or here.
Me and some friends were debating starting a company, so I figure it might be good to do a quick pilot project to see how well we can work together. We have a designer who can do HTML, CSS and Flash, enjoys doing art, but doesn't like to do HTML and CSS... A...
How do these relate?
Please use all of these words in one paragraph. I'm a beginner.
...
Hi,
I'm developing a windows service in C# .net, Account: LocalSystem, System: Windows XP SP3
I want this service to check for all currently logged users if a specific application is running and if not - start this application AS corresponding user name.
I provide domain, name, password, but Start() throws Win32Exception exception "Acc...
Hey Guys,
Right what im trying to accomplish is a program that basically sets the active partition in 1 click, saving the effort time and skill of using cmd prompt etc.
I have looked into the System.Management name space but couldn't work out how to use it :(
So i have resorted to using CMD, i have got a module application written in...
Hello!
I´m facing a problem when trying to close a Windows Explorer (not Internet Explorer) window through another application, using the "Process.CloseMainWindow()" method; because it doesn´t close the Explorer window, it tries to close the full Windows (Operative System), by the way, Windows XP.
The code is as follows:
[DllImport("u...
How can i get a process by know process name on mac os?
...
The System.Diagnostics assembly is part of the Silverlight CLR framework, but it only includes classes related to debugging, the Process class is not available. Is there any other way to start an outside process from a Silverlight application?
...
Hi,
I have written a program in C. Its a program created as result of a research. I want to compute exact CPU cycles which program consumes. Exact number of cycles.
Any idea how can I find that?
...
Here's my C method to get the pid of the Finder process. GetProcessInformation() is causing a segfault. Why?
Here's the function:
static OSStatus
GetFinderPID(pid_t *pid)
{
ProcessSerialNumber psn = {kNoProcess, kNoProcess};
ProcessInfoRec info;
OSStatus status = noErr;
info.processInfoLength = sizeof(ProcessInfoRec);
...
Hi
Can anyone please provide specific links which cite the advantages of RPC over other inter process communication models.
Also whether RPC is best suited for TCP/IP or HTML or similar other transfer mediums.
Thanks and in advance.
...
I would like to check the memory consumption of each running processes individually,
cat /proc//statm
is ok, but opening a shell for each check is time consuming, and maybe not the best way. any advices how to do it with the SDK?
...
Is there a reliable way to know what executable has called my executable?
I have a .NET executable but I would like to know who has started my application.
...
Hi,
I implemented a simple C# application which inserts about 350000 records into the database. This used to work well and the process took approximately 20 minutes.
I created a progress bar which lets you know approximately the progress of the records insertion. When the progress bar reaches about 75% it stops progressing. I have to m...
How to retrieve the process start time (or uptime) in python in Linux?
I only know, I can call "ps -p my_process_id -f" and then parse the output. But it is not cool.
...
My problem is like this (OS is Sun Solaris):
1) At the boot time I want to start a process using a specific script. I am doing this by putting this script in /etc/init.d (and following other K and S rules)
2) The program which will be called by the script is located at $HOME/xxx/yyy location.
4) I am using 'su - {myuser} -c "{full pat...
I have one WPF application and one windows service as watch dog.
I want to check if my window application is halt or working fine. If it is halt i want to restart the application.
I see Process.responding property but it is not working in my service.
Any idea or other solution.
Process[] myProcesses;
myProcesses = Process.Ge...
Im looking for some advice/suggestions on how I should setup the work flow of a small application Im building. When the application is launched the datagrid will be populated via the XML file. Once running the application will receive a datastream that I hope to update the file and datagrid.
So Im curious what you would suggest on ho...