SwiftShell icon indicating copy to clipboard operation
SwiftShell copied to clipboard

A Swift framework for shell scripting.

Results 12 SwiftShell issues
Sort by recently updated
recently updated
newest added

Is it possible to retrieve the pid of a command run via swiftshell? If so, how do I retrieve it?

I benchmark the duration of executing a simple process. On other languages (ruby, go, bash), the result is about 1ms, but on Swift, it takes about 60ms. The test code...

enhancement
help wanted

When executing an ncurses-based (such as vim), the output does not appear to update correctly. For example: ``` try runAndPrint("/usr/bin/vim") ``` I do not see the vim UI at all....

HI, I did app mac osx in BigSur that send Process().run and write in textEditor the logs. It' a process async that poll some https, and I need logs all...

![image](https://user-images.githubusercontent.com/8030134/116628678-3b42ac80-a982-11eb-8f65-8b3af8bed6b2.png) ![image](https://user-images.githubusercontent.com/8030134/116628701-48f83200-a982-11eb-8413-9034db6976b5.png) If change it to Yes, everything is fine.

Thanks for the great library! Is there a way to do the equivalent of "(cd srcdir && tar cf - . ) | (cd dstdir && tar xf - )"...

Hi! I'm new to this, so I might be making a user error, but I'm not sure where to ask. I'm playing around with this library right now and I'm...

I already mentioned this request in #92. I think it is a very common use case to make all run commands throwable. What I would like to avoid is the...

enhancement

Specifically I’m launching a process in a server (yes, I know, I shouldn’t!), and it’s a pity having a server being killed like that, even in the case of a...

What is the best way to observing an `AsyncShellTask` to understand if it's waiting for user input? # Example An external script is launched via SwiftShell by using `runAsync` such...

enhancement
help wanted