bugGNU Octave - Bugs: bug #56722, system() function doesn't work...

 
 

bug #56722: system() function doesn't work like MATLAB

Submitter:  Andy Potvin <afpotvin>
Submitted:  Tue 06 Aug 2019 12:34:43 PM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Duplicate Assigned to:  None
Originator Name:  Andy Potvin Open/Closed:  * Closed
Release:  * 5.1.0 Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 06 Aug 2019 03:41:20 PM UTC, comment #1: 

This is a duplicate of bug #44712.  There is already a discussion there about how to resolve this.

Rik <rik5>
Group administrator
Tue 06 Aug 2019 12:34:43 PM UTC, original submission:  

The Octave system() function doesn't work like MATLAB. [FN1]

[status,result] = system('gobble-de-gook');

In Octave the underlying system error gets printed and result is an empty char.

In MATLAB, there's no output to the command line and the system error is stuffed into result.

Thanks and Best regards,
Andy Potvin
-email is unavailable-
(626) 226-8436

[FN1] At least on M$ Windows 7 SP1, Octave 5.1.0, and MATLAB 2012a.

Andy Potvin <afpotvin>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Updated the item)
  • -email is unavailable- added by afpotvin (Submitted the item)
  • -email is unavailable- added by afpotvin
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-08-06 rik5 Open/ClosedOpen Closed
        Operating SystemMicrosoft Windows Any
    2019-08-06 rik5 StatusNone Duplicate
        Dependencies- Depends on bugs #44712
    2019-08-06 afpotvin Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code