Skip to content

A wrapper around launching an external tool, like NSTask, that can wrap stdout, stderr, or both in a pseudo-TTY. Uses Swift Concurrency. Does not require Foundation.

License

Notifications You must be signed in to change notification settings

CharlesJS/PTYProcess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PTYProcess

A replacement for Process/NSTask that can automatically wrap standard output, standard error, or both in a pseudo-TTY.

Lets you use Swift Concurrency to wait for processes to exit without blocking a thread. Does not require Foundation.

About

A wrapper around launching an external tool, like NSTask, that can wrap stdout, stderr, or both in a pseudo-TTY. Uses Swift Concurrency. Does not require Foundation.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages