Commit Graph
515 Commits
Author SHA1 Message Date
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 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 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 43bf9a153a Readme: add note about 'run' commands with large output hanging.
To address #52.
2018-02-13 17:04:56 +01:00
Kare Morstol 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 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 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 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 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
Kare Morstol 9e7bd2f21d Update to 4.0-DEVELOPMENT-SNAPSHOT-2017-08-21-a.
Will fail in the Mac Travis build.
2017-08-28 20:38:28 +02:00
Kare Morstol 893d0dadbf Remove AnyArrayType, not required in Swift 4. 2017-08-28 19:18:03 +02:00
Kare Morstol b2b311a601 Readme: add a link to Swift 4 version. 2017-06-23 21:11:20 +02:00
Kare Morstol 246d5d0759 Readme: add link back to Swift 3 version. 2017-06-23 21:09:02 +02:00
Kare Morstol 66fb0be630 Try with 4.0-DEVELOPMENT-SNAPSHOT-2017-06-19-a instead. 2017-06-23 20:29:37 +02:00
Kare Morstol eb9ded045b Update to Swift 4. 2017-06-23 20:15:44 +02:00
Kare Morstol 8518bcfbb0 Readme: add instructions for Marathon, and more badges. 2017-05-16 00:43:22 +02:00
Kare Morstol 433f281166 swiftshell-init use version 3.0.0, not the beta. 3.0.1 2017-05-11 21:43:14 +02:00
Kare Morstol ae127df8c5 Remove Scripts directory reference in XCode. 2017-05-11 21:41:58 +02:00
Kare Morstol 93964b518f Improve error output from ‘exit’ and non-SwiftShell errors. 2017-04-28 21:43:42 +02:00
Kare Morstol cdb243acd5 Release SwiftShell 3.0.
At long last.
3.0.0
2017-04-28 19:12:46 +02:00
Kare Morstol dcd6f2d53a Fix the fixing of the Linux fix. 2017-04-28 01:32:19 +02:00
Kare Morstol a5d4555d50 Readme: small-ish changes. 2017-04-28 00:52:56 +02:00
Kare Morstol adcb0a09fa Streams: add support for writing and reading Data. 2017-04-27 23:53:05 +02:00
Kare Morstol f3bfbeb524 Make sure writing a stream to another stream compiles.
Because it very easily does not.
2017-04-27 23:53:05 +02:00