Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 534957
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T09:39:58+00:00 2026-05-13T09:39:58+00:00

Is it possible to i/o to a running process? I have multiple game servers

  • 0

Is it possible to i/o to a running process?
I have multiple game servers running like this:

cd /path/to/game/server/binary
./binary arg1 arg2 ... argn &

Is it possible to write a message to a server if i know the process id?

Something like this would be handy:

echo "quit" > process1234

Where process1234 is the process (with sid 1234).

The game server is not a binary written by me, but it is a Call of Duty binary. So i can’t change anything to the code.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T09:39:59+00:00Added an answer on May 13, 2026 at 9:39 am

    Yes, you can start up the process with a pipe as its stdin and then write to the pipe. You can used a named or anonymous pipe.

    Normally a parent process would be needed to do this, which would create an anonmyous pipe and supply that to the child process as its stdin – popen() does this, many libraries also implement it (see Perl’s IPC::Open2 for example)

    Another way would be to run it under a pseudo tty, which is what “screen” does. Screen itself may also have a mechanism for doing this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

A single Biztalk Server can have multiple Host processes. Is it possible to create
I'd like to prevent multiple instances of the same long-running python command-line script from
Possible Duplicate: Running Internet Explorer 6, Internet Explorer 7, and Internet Explorer 8 on
Is it possible to terminate a running thread without setting/checking any flags/semaphores/etc.?
Is it possible to get Mercurial to show progress of long-running push or pull
It's possible to develop only for .net 2.0 running Visual Studio 2008? Thanks!
I'm wondering if it's possible to get a handle on running instances of a
Possible Duplicate: How do I calculate someone's age in C#? Maybe this could be
I am setting up an Apache2 webserver running multiple Ruby on Rails web applications
Note: This is a follow up to this question . I have a legacy

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.