Kare Morstol and GitHub
c173a81f61
Readme: update links to nottoobadsoftware.com
2019-03-13 22:47:36 +01:00
Kare Morstol
beebe43c98
Release version 4.1.2.
4.1.2
2018-10-03 21:16:26 +02:00
Kare Morstol
62da383972
RunOutput(launch:): rename parameter to ‘command’, add documentation.
...
Removed
```swift
group.enter()
defer {
group.leave()
}
```
because no matter what happens, "group.leave()" will be called when exiting this scope. As such it serves no purpose. We still need to use ‘group’ for the asynchronous reading of standard error though.
2018-10-03 21:02:49 +02:00
Kare Morstol
b69b6ff877
Make RunOutput.stdout and .stderror publicly immutable again.
...
For some reason I apparently thought that lazy properties are always immutable. I have no idea why.
2018-10-03 19:17:53 +02:00
Kare Morstol
d1f8aadca2
Travis: use Xcode 10, and run 'xcodebuild test'.
2018-10-03 18:40:48 +02:00
Kare Morstol
d016613743
Update to Swift 4.2.
2018-10-03 18:03:12 +02:00
Kare Morstol
9ae82dc6db
Move AsyncCommand.launch back to RunOutput(launch:).
...
Since AsyncCommand.launch was private and only used by RunOutput.
2018-10-03 17:52:36 +02:00
sohocoke and Kare Morstol
32e5d5a159
Async command launch ( #69 )
...
AsyncCommand#launch is an asynchronous method that obviates race conditions when reading command output concurrently.
2018-09-27 01:34:55 +02:00
Kare Morstol
02c8ae6a5d
Set version to 4.1.1
4.1.1
2018-07-31 17:57:04 +02:00
Kare Morstol
97e68ec5bb
Remove swiftlint build phase.
...
Was inactive anyway.
2018-07-31 17:51:30 +02:00
Kare Morstol
3f335df4d4
CocoaPods: version number must include patch number.
2018-04-18 22:29:07 +02:00
Kare Morstol
aebc06a649
Readme: update with new functionality.
...
Also fix some other stuff.
4.1.0
2018-04-18 00:52:44 +02:00
Kare Morstol
69eccb6cad
Make main.stdout.encoding default to main.encoding.
2018-04-17 23:46:26 +02:00
Kare Morstol
c8c07f74c1
Add AsyncCommand.onCompletion override.
2018-04-17 23:37:32 +02:00
Kare Morstol
aff9523a50
Improve documentation and formatting.
...
Use present tense in documentation.
Add missing documentation.
Move code where it should be.
Improve line breaks.
Simplify ReadableStream.onOutput (Stream.swift).
2018-04-17 23:35:12 +02:00
Kare Morstol
97d6b5f6a6
CocoaPods: set version to 4.1.
4.1.0-beta.2
4.1.0-beta2
2018-04-13 22:56:48 +02:00
Kare Morstol
4c7f29c080
Exclude Process.Swift from iOS build. Travis: re-enable CocoaPods testing.
2018-04-13 22:43:10 +02:00
Kare Morstol
a64802b918
Travis: use osx_image xcode9.3.
4.1.0-beta.1
2018-04-10 21:44:12 +02:00
Kare Morstol
4f0c6caa02
Rename pathForExecutable.
2018-04-10 21:07:26 +02:00
Kare Morstol
3959f04359
run: do not read both standard output and standard error if they are the same.
2018-04-10 01:31:03 +02:00
Kare Morstol
a2203d76cf
Add runAsyncAndPrint command ( #61 ).
2018-04-09 04:40:49 +02:00
Kare Morstol
51c31343c5
[Gardening] Cleanup Process.swift a bit.
2018-04-08 23:25:09 +02:00
Kare Morstol
eedbd2ab73
Move all Process-specific code to its own file.
2018-04-06 21:41:45 +02:00
Kare Morstol
5e3e1b0c66
Improve alignment. Make testIntsLazySplit_NoEmptySlices actually do something.
2018-04-06 19:46:18 +02:00
Kare Morstol
aae497c48a
Update to Swift 4.1.
...
Update Travis settings as it does not have an image with Xcode 9.3 yet.
2018-04-06 19:46:18 +02:00
Kare Morstol
edfad8d0b7
Xcode 9.3: update to recommended project settings.
2018-04-05 21:03:11 +02:00
Jacob Wlliams and Kare Morstol
42e7cff534
Fix #60 . Add AsyncCommand.stop, interrupt, suspend and resume.
...
Also for Linux.
* Implement all the missing signal functions available to Process
* stop and interrupt now function nearly-identical to how they should on macOS
* Implemented the suspend and resume functions, cleaned up the stop and interrupt related functionality
2018-03-13 13:06:31 +01:00
Jacob Williams and Kare Morstol
3cbfa055a7
Marked stream's readData() with @discardableResult
2018-03-12 18:06:36 +01:00
Kare Morstol
b9fd067989
Release version 4.0.2, set Swift version to 4.0.3.
4.0.2
2018-03-04 17:23:11 +01:00
Kare Morstol
134731d285
Add warning to AsyncCommand.finish() about hanging on large output.
2018-03-04 17:10:37 +01:00
Kare Morstol
18dc443cbf
Simplify code of cleanUpOutput.
...
Because forced unwrapping is ugly and map is cool.
2018-03-04 16:33:53 +01:00
Kare Morstol
7ec2e02721
Include all “run” unit tests on Linux.
2018-03-04 16:24:06 +01:00
Kare Morstol
fc9ebdd49c
"run" – read standard error and standard output simultaneously.
2018-03-04 16:24:06 +01:00
Kare Morstol
78e7e5117e
"run" - read all of standard output before waiting to finish.
...
Prevents hanging when standard output is larger than 64KB.
2018-03-04 16:24:06 +01:00
Kare Morstol
aef70e78c7
Revert "Add a warning to documentation for ‘run’ about #52."
...
e48388155b
2018-03-04 16:24:06 +01:00
Kare Morstol
f7472d1e60
Revert "Readme: add note about 'run' commands with large output hanging."
...
43bf9a153a
2018-03-04 16:24:06 +01:00
Kare Morstol
e48388155b
Add a warning to documentation for ‘run’ about #52 .
2018-02-13 18:10:05 +01:00
Kare Morstol and GitHub
43bf9a153a
Readme: add note about 'run' commands with large output hanging.
...
To address #52 .
2018-02-13 17:04:56 +01:00
Kare Morstol and GitHub
b6c8f821c6
Readme: use absolute URL for SwiftShell logo.
...
So it will display correctly in the documentation.
2018-01-30 16:48:35 +01:00
Kare Morstol
a7d875f9bd
Fix indentation.
4.0.1
2018-01-30 02:45:45 +01:00
Feng Qiang and Kare Morstol
225b203c9e
some time self is zombie object ( #45 )
...
* update CocoaPods version number
2018-01-30 02:43:03 +01:00
Kare Morstol
66d57774a2
Replace String($0) with String.init. Add missing Linux unit test.
2018-01-30 02:03:49 +01:00
Kare Morstol
e8f3847c16
Fix swiftshell-init to work with new Package.swift layout.
2018-01-30 01:44:56 +01:00
Kare Morstol and GitHub
bd1b22c2e7
Merge pull request #46 from harlanhaskins/remove-deprecated-characters
...
Remove deprecated uses of .characters
2018-01-30 01:37:15 +01:00
Kare Morstol and GitHub
db1acda41f
Readme: update instructions for Swift Package Manager.
2018-01-30 01:26:17 +01:00
Harlan Haskins
bca9b0288e
Remove deprecated uses of .characters
2017-12-03 22:46:43 -05:00
Kare Morstol and GitHub
107ab24fc5
Readme: update version number to 4 in setup instructions.
2017-09-28 20:22:50 +02:00
Kare Morstol
ecf0544d74
Merge swift4 into master
4.0.0
2017-09-25 21:22:43 +02:00
Kare Morstol
07769c0b14
Update to version 4.0.0
2017-09-23 00:56:31 +02:00
Kare Morstol
e5d6bffbc0
Set Swift version to 4.0, update Travis and pod spec.
2017-09-22 15:18:24 +02:00