Using the Plan9 plumber utility
Plumbing is a new mechanism for inter-process communication in Plan 9, specifically the passing of messages between interactive programs as part of the user interface. Although plumbing shares some properties with familiar notions such as cut and paste, it offers a more general data exchange mechanism without imposing a particular user interface. From Plumbing and other utilities by Rob Pike
http://www.mostlymaths.net/2013/04/just-as-mario-using-plan9-plumber.html