Skip to content

neolynx/launchy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Launchy

from launchy import Launchy
import asyncio

launchy = Launchy("ls -l --color")

loop = asyncio.get_event_loop()
Launchy.attach_loop(loop)

async def main():
    # start subprocess
    await launchy.launch()

    # wait until subprocess exits
    await launchy.wait()

    # terminate
    await Launchy.stop()

loop.run_until_complete(main())

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages