GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - wting/pwait: Await process completion.

BranchesTags
Open more actions menu

Latest commit

 

History

32 Commits
32 Commits

Folders and files

NameName
Last commit message
Last commit date
README.md
README.md
 
 
pwait
pwait
 
 

Repository files navigation

NAME

pwait - await process completion

SYNOPSIS

pwait [pid or process_name...]

DESCRIPTION

pwait waits until all arguments have terminated.

If a number is passed pwait assumes it is a pid; otherwise it is handled as a process name. To wait for a process--not a pid--called "123" use the --name option.

If pwait was passed a process_name or invoked using the --name option, pwait waits until all processes matching process_name have terminated, including new processes spawned after invocation.

Mixing pids and process names is not supported.

The primary difference between pwait and wait is the latter is limited to only child processes of the current shell, while pwait can be used to monitor any process.

OPTIONS

-i, --interval           set watch interval in seconds (default: 0.5 sec)

-n, --name               watch process based on exact name rather than pid

-v, --verbose            increase verbosity

-vv                      increase verbosity more

--version                show version number and exit

INSTALLATION

  • download pwait

      $ wget https://github.com/wting/pwait/raw/master/pwait
    
  • make it executable

      $ chmod +x ./pwait
    
  • move it to a folder in $PATH

      $ mv ./pwait ~/bin/
    

RELATED

proctools, wait

LICENSE

Copyright (c) 2013, William Ting. Licensed under BSD 2-clause: http://opensource.org/licenses/BSD-2-Clause.

About

Await process completion.

Resources

Readme
Activity

Stars

12 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.