My question is how would I implement sending arguments to a program running in the background? Can anyone point me in the right direction?
n30h4x 0 Newbie Poster
Recommended Answers
Jump to PostAre you talking about *nix or MS-Windows?
Jump to PostOn MS-Windows the background program(s) would be running as Windows Services. One way to communicate with a service is via COM programming. Of course the serice has to be written as a COM program in order for application programs to talk to it. One common type of service program is …
Jump to PostOk, well what about in *nix?? Wouldn't a way to achieve this is to have the program in the background to be looking for a file, that the other program will create with the command. If it finds a file, it opens it extracts the command and performs it. Is …
Jump to PostYou could use sockets in the MS-Windows program too, so whatever you write for *nix is SORT OF portable to MS-Windows too.
All 16 Replies
Radical Edward 301 Posting Pro
n30h4x 0 Newbie Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
n30h4x 0 Newbie Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
n30h4x 0 Newbie Poster
gerard4143 371 Nearly a Posting Maven
n30h4x 0 Newbie Poster
gerard4143 371 Nearly a Posting Maven
n30h4x 0 Newbie Poster
gerard4143 371 Nearly a Posting Maven
n30h4x 0 Newbie Poster
gerard4143 371 Nearly a Posting Maven
gerard4143 371 Nearly a Posting Maven
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
n30h4x 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.