perl-App-Procapult - Hand cranked process launcher

Distribution: ALT Linux Sisyphus
Repository: Autoimports noarch
Package name: perl-App-Procapult
Package version: 0.009001
Package release: alt1
Package architecture: noarch
Package type: rpm
Installed size: 25.65 KB
Download size: 25.65 KB
Official Mirror:
The idea for procapult is to have a process launcher that sits around doing nothing, until you tell it to start something, at which point it runs that until it exits or you tell it to stop it. A procapult can, by design, only run one process at once - it's expected to be started in a screen/tmux/dtach window or an xterm, so the behaviour is as simple as possible. To control your procapult, you make a unix socket connection to the control socket passed when you started it. Multiple clients are permitted at the same time, and if they step on each others' toes that's considered operator error on your part. The protocol for the socket is so simple even I can understand it: =over 4 =item * On connect, procapult sends its current status =item * When the status changes, procapult sends the new status =item * Status lines look like one of STATUS: started 12345 some shell process STATUS: stopped where 12345 is the pid of the process procapult is currently running =item * Valid commands are 'start', 'stop' and 'die' =item * 'start some shell process' passes the string 'some shell process' to perl's exec() =item * 'stop' causes procapult to send its process a SIGHUP =item * 'die' causes procapult itself to commit harakiri =item * If your command is malformed or makes no sense, procapult sends an error line =item * Error lines look like ERROR: some description of what went wrong =item * A successful command returns nothing, on the assumption that a status line will be along shortly to tell you what happened =item * That's all, folks. =back



  • perl(App/ = 0.009.001
  • perl(Proc/
  • perl(Proc/Apult/
  • perl(Proc/Apult/
  • perl-App-Procapult = 0.009001-alt1

    Install Howto

    1. Add the following line to /etc/apt/sources.list:
      rpm [Sisyphus] noarch autoimports
      rpm [Sisyphus] noarch autoimports
    2. Update the package index:
      # sudo apt-get update
    3. Install perl-App-Procapult rpm package:
      # sudo apt-get install perl-App-Procapult


    • /usr/bin/procapult
    • /usr/share/doc/perl-App-Procapult-0.009001/Changes
    • /usr/share/doc/perl-App-Procapult-0.009001/README
    • /usr/share/man/man1/procapult.1.xz
    • /usr/share/perl5/App/
    • /usr/share/perl5/Proc/
    • /usr/share/perl5/Proc/Apult/
    • /usr/share/perl5/Proc/Apult/