process

Stop and start running again processes in Linux using C++

Hello, I have two process and a shared memory zone, my workflow is like this. The process A write some data in the shared memory, after that it should wait and send a signal to other process B to start running. The process B should read some data from the shared memory do some stuff write the result, and send a signal to the process A t...

How do you kill a process for a particular user in .NET (C#)?

I work off of a multi-user Windows Server, and the rdpclip bug bites us all daily. We usually just open task manager and kill then restart rdpclip, but that's a pain in the butt. I wrote a powershell script for killing then restarting rdpclip, but no one's using it because it's a script (not to mention the execution policy is restricte...

How to execute a command in a remote computer?

I have a shared folder in a server and I need to remotely execute a command on some files. How do I do that? What services need to be running on the server to make that work? Some details: Only C# can be used. Nothing can be installed in the server. ...

The process that must occur between the client and servers, Kerberos authentication.

Im trying to learn and understand Kerberos, i need to understand the process that must occur between the client and server — Windows and non-Windows platforms — to enable Kerberos authentication. looking for some help to explain the process better. thank you ...

is there any cross platform process manager tool

I need a program that is able to launch a set of processes according to a schedule/configuration; the program would run in the background and restart the processes in case they crash. There are standard tools for this kind of task on both windows and unix - what I need is a cross platform program which could run on different operating sy...

Why does .exe refuse to stop?

Hi there, I've "inherited" a legacy C#/C++ program that I have to debug. The current problem is that the .exe won't stop after I close the program, i.e. it still shows up in Task Manager. This is a problem, because it won't let me restart the program, because only one instance can run. Often killing the process doesn't work; I'm forc...

Quick and dirty solution for communication between processes in different machines

I have two processes written in java in two machines within my network that should pass simple chunks of data to each other. I'm looking for a quick and dirty way (without resorting to writing files and polling for changes on network share files) ...

Balancing HTML/CSS Between Designers and Engineers

I have a development process question. Background: I work for a modest sized website where, historically, the designers created mockups/screenshots of what they wanted pages and components to look like, and the engineering team (myself included) turned them into html/css. This works relatively well from a code cleanliness perspective, ...

How to get process info programmatically in C/C++ from a Solaris system?

Is there a C/C++ library, and documentation about how to collect system and process information on Solaris? Although I could parse command-line tools, I'd rather use a library that makes the task easier to do. Thanks Edit: It has been suggested to use the /proc virtual directory to collect information, however its not much better than...

Automatically attach vs2005 debugger to a child processes

I have a main C++ app built in Visual Studio 2005, called A.exe. It spawns a child process, B.exe. I run process A in the debugger by hitting F5 -- the only way I know to hit breakpoints in process B is to wait for A to kick it off, then run Debug -> Attach to Process, and manually select B.exe. This doesn't work very well if I need t...

Process Guidelines Required

My company does not follow any well defined process for software development. I want to implement a simple but effective process which will suit my company. We have all sets of resources right from project managers to developers and testers. Please provide some references or process templates that I can use. ...

External program from our Java program

How can I write a program in Java that will execute another program? Also, the input of that program should be given from our program and the output of that program should be written into a file. This is my small set of code to get its output: Process p = Runtime.getRuntime().exec("C:\\j2sdk1.4.0\bin\\helloworld.java"); BufferedReader ...

In .NET what's the best way for two processes in the same machine to communicate?

What's the best (or maybe not the best -- just good) way for two processes in the same machine to communicate, using .NET? Actually the two processes in the app I'm working on aren't even two different programs; they're just two instances of the same EXE. I wanted to do something like a singleton app, but have it per user (meaning a Ter...

.net launching process with path and arguments

paths are relative to current directory. I've tried tens of combinations of quoting, not quoting, changing to parent directory and removing the .., but I always get a FileNotFound error. bridge_process = System.Diagnostics.Process.Start( @"../Tools/RunHidden", @"../My-Bridge.bat"); ...

Kill a process started with Groovy execute()

I'm able to run Groovy scripts from Groovy using proc = "cmd /c groovy BillingServer.groovy".execute(null, new File("C:\")) However, I can't find a way to then terminate/kill the process. waitForOrKill(1) and destroy() "act" like they've worked, but the external process continues to run. Calling exitValue() fails with java.lang.Ill...

What steps make up your web development process and how much time does each phase take?

Let's say you work 100 days on a project. How many days would each phase of your process (requirements analysis, specification, etc.) take? I'm interested also in the ratio of specific activities in every phase, such as writing tests, back-end coding, front-end coding, visual design, database design etc. Many thanks! EDIT: Just to ma...

Launch JVM process from a Java application use Runtime.exec ?

I want to be able to launch a Java server process from an existing java application and monitor the stdoutput and stderror and redirect that output to a file. Is the best approach to use 'Runtime.exec' and treat the app like any other OS process or is there something more suited for new JVMs. This is on Java 1.5 ...

Error when impersonating a user in .NET in a scheduled task

I have a .NET console app running on Windows Server 2003, as a scheduled task. This uses the Process class to run another little console app, but it uses Process.StartInfo.Username to impersonate a user to run it as. If the account that is impersonated in the scheduled task in an Administrator, then it works perfectly, but if not then ...

Is it possible to talk about quality in software outside of a market context?

A lot of the talk around quality code and quality software seems to revolve around the needs of "The Market" Can the quality of code and the quality of the resulting software be judged outside of this business context? If so, should it? If not, why not? ...

Accessing "Process Info" via an app

I am working with sql 2000 I am trying to access all of the "current activity>process info" from microsoft access. I thought, the sproc code in the link below would give me it but it doesnt. I have no problem basing a dataset on sp_lock2 and reading the info, but it doesnt pull all of the data in the process info view under enterprise m...