Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add subprocess GPR API #1617

Merged
merged 3 commits into from
May 15, 2015

Conversation

ctiller
Copy link
Member

@ctiller ctiller commented May 15, 2015

Port fling_test to it.

This will be used to:

  • port remaining tests to Windows
  • enable testing what happens when servers or clients mysteriously disappear

Port fling_test to it.

This will be used to:
- port remaining tests to Windows
- enable testing what happens when servers or clients mysteriously disappear
typedef struct gpr_subprocess gpr_subprocess;

/* .exe on windows, empty on unices */
char *gpr_subprocess_binary_extension();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you mean to use that function somewhere.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that this should be changed to return a const char *. I'm happy to do a PR.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you're right. If you want to fix it, feel free. I'm hoping to be
back to operating normally tomorrow.

On Mon, May 18, 2015, 4:45 PM jboeuf notifications@github.com wrote:

In include/grpc/support/subprocess.h
#1617 (comment):

  • * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  • * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  • * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  • * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  • * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  • * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  • /
    +
    +#ifndef GRPC_SUPPORT_SUBPROCESS_H
    +#define GRPC_SUPPORT_SUBPROCESS_H
    +
    +typedef struct gpr_subprocess gpr_subprocess;
    +
    +/
    .exe on windows, empty on unices */
    +char *gpr_subprocess_binary_extension();

I think that this should be changed to return a const char *. I'm happy
to do a PR.


Reply to this email directly or view it on GitHub
https://github.com/grpc/grpc/pull/1617/files#r30557964.

nicolasnoble added a commit that referenced this pull request May 15, 2015
@nicolasnoble nicolasnoble merged commit 9aaa1b6 into grpc:master May 15, 2015
@lock lock bot locked as resolved and limited conversation to collaborators Jan 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants