Git Product home page Git Product logo

processwrapper's Introduction

PRs Welcome Project Status: Active – The project has reached a stable, usable state and is being actively developed.

Table of Contents

Description

ProcessWrapper is a plugin + wrapper code for Pharo Smalltalk Win32 process execution with non-blocking stdin, stdout and stderr support. The project aims to give features similar to OSProcess, but it's not related to it in any other way. This repository contains the working plugin for Pharo 7.x.

Installation

Install from CLI

pi install ProcessWrapper

Install from Pharo

Metacello new
    baseline: 'ProcessWrapper';
    repository: 'github://hernanmd/ProcessWrapper';
    load

Baseline Snippet

  spec
	baseline: 'ProcessWrapper' 
	with: [ spec repository: 'github://hernanmd/ProcessWrapper/repository' ].

Usage

ProcessWrapper new
	useStdout;
	startWithShellCommand: 'echo hello';
	upToEnd

Contribute

Working on your first Pull Request? You can learn how from this free series How to Contribute to an Open Source Project on GitHub

If you have discovered a bug or have a feature suggestion, feel free to create an issue on Github.

If you'd like to make some changes yourself, see the following:

  • Fork this repository to your own GitHub account and then clone it to your local device
  • Edit the project classes.
  • Test ProcessWrapper.
  • Add to add yourself as author below.
  • Finally, submit a pull request with your changes!
  • This project follows the all-contributors specification. Contributions of any kind are welcome!

License

This software is licensed under the MIT License.

Copyright Levente Uzonyi 2009-2018. Copyright Hernán Morales, 2018-2019.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

processwrapper's People

Watchers

 avatar  avatar  avatar

processwrapper's Issues

MetacelloFileDownload fails to get the dll

MetacelloNotification: Loaded -> MetacelloFileDownload-Pharo7-CompatibleUserName.1606921698 --- https://github.com/hernanmd/MetacelloFileDownload.git[master] --- cache
ewUndeclaredWarning: MetacelloFileDownload class>>shellCommand: (OSSUnixSubprocess is Undeclared)
etacelloNotification: Loaded -> MetacelloFileDownload-CompatibleUserName.1606921698 --- https://github.com/hernanmd/MetacelloFileDownload.git[master] --- cache
MetacelloNotification: ...finished baseline
====== Downloading my resource files...
Error: Cannot extract unkown file type
MetacelloFileDownload class(Object)>>error:
etacelloFileDownload class>>extract:in:
[ MetacelloFileDownload
	extract: (self downloadFileAt: urlIndex)
	in: FileSystem workingDirectory ] in BaselineOfProcessWrapper(Object)>>platformFileDownload: in Block: [ MetacelloFileDownload...

64bit support

I tried to use ProcessWrapper in Pharo 7 (with the one from Smalltalkhub, but I guess it's the same with this one) but It failed because I was on a Pharo 64bit.

It would be useful to be able to use ProcessWrapper on 64bit.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.