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())
-
Notifications
You must be signed in to change notification settings - Fork 2
License
neolynx/launchy
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published