Jira (FACT-1769) Ruby API for command execution with status code in result

3 views
Skip to first unread message

Jakob (JIRA)

unread,
Oct 2, 2017, 9:34:08 AM10/2/17
to puppe...@googlegroups.com
Jakob created an issue
 
Facter / New Feature FACT-1769
Ruby API for command execution with status code in result
Issue Type: New Feature New Feature
Assignee: Unassigned
Created: 2017/10/02 6:33 AM
Priority: Normal Normal
Reporter: Jakob

Facter::Util::Resolution.exec returns standard output and sets `$?` aka `$CHILD_STATUS`. These two globals are hard (impossible?) to stub in tests. A more testable API would be nice.

Additionally, it would be nice if standard error was available in addition to standard output. The ability to specify the content of standard input might also be an idea.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe)
Atlassian logo

Jakob (JIRA)

unread,
Oct 2, 2017, 9:35:03 AM10/2/17
to puppe...@googlegroups.com
Jakob commented on New Feature FACT-1769
 
Re: Ruby API for command execution with status code in result

This issued urged in comment section of linked issue

Branan Riley (JIRA)

unread,
Oct 26, 2017, 12:24:03 PM10/26/17
to puppe...@googlegroups.com

Branan Riley (JIRA)

unread,
Oct 26, 2017, 12:24:04 PM10/26/17
to puppe...@googlegroups.com
Branan Riley updated an issue
Change By: Branan Riley
Sprint: Platform OS Grooming

Geoff Nichols (JIRA)

unread,
Nov 4, 2017, 5:49:06 AM11/4/17
to puppe...@googlegroups.com
Geoff Nichols updated an issue
Change By: Geoff Nichols
Sprint: Platform OS Grooming /Triage
This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db)
Atlassian logo

Geoff Nichols (JIRA)

unread,
Feb 6, 2018, 5:49:03 PM2/6/18
to puppe...@googlegroups.com
Geoff Nichols updated an issue
 
Facter / New Feature FACT-1769
Ruby API for command execution with status code in result
Change By: Geoff Nichols
Sprint: Platform OS Grooming/Triage
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.5.1#75006-sha1:7df2574)
Atlassian logo

Branan Riley (JIRA)

unread,
Mar 21, 2018, 7:26:03 PM3/21/18
to puppe...@googlegroups.com
Branan Riley updated an issue
Change By: Branan Riley
Labels: ruby triaged
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Claudia Petty (Jira)

unread,
Jun 21, 2023, 8:43:05 AM6/21/23
to puppe...@googlegroups.com
Claudia Petty updated an issue
Change By: Claudia Petty
Labels: new-feature ruby
This message was sent by Atlassian Jira (v8.20.21#820021-sha1:38274c8)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages