Table of Contents

Module: PipeOutputWindow PmwContribD-r2_0_1/PipeOutputWindow.py

Display output of a piped command with optional colorization.

Use this widget to run shell processes in the background and display their output. The window automatically scrolls to follow the output, and each line is compared against various regular expressions to control the presentation options.

Refer to the example application in the module for references as to how to add tags and patterns.

Imported modules   
import Pmw
import Tkinter
import os
import re
import types
Functions   
WEXITSTATUS
WIFEXITED
WIFSIGNALED
WTERMSIG
  WEXITSTATUS 
WEXITSTATUS ( status )

What was the exit code of the progrm?

  WIFEXITED 
WIFEXITED ( status )

Did the program exit with no errors?

Functions which return status information about how a child process died or exited.

  WIFSIGNALED 
WIFSIGNALED ( status )

Did the program exit as a result of a signal?

  WTERMSIG 
WTERMSIG ( status )

Did the program exit as a result of the TERM signal?

Classes   
GuiAppDServicesForPipeOutputWindow

Class which defines the GuiAppD methods needed by PipeOutputWindow.

PipeOutputDialog

Dialog containing a PipeOutputWindow.

PipeOutputWindow

Text window which controls background processes and their output.


Table of Contents

This document was automatically generated on Mon Sep 17 17:47:46 2001 by HappyDoc version r2_0