bugGNU Octave - Bugs: bug #45398, system without shell


bug #45398: system without shell

Submitted by:  CarnĂ« Draug <carandraug>
Submitted on:  Wed 24 Jun 2015 07:41:08 PM UTC  
Category: Octave FunctionSeverity: 1 - Wish
Priority: 5 - NormalItem Group: Feature Request
Status: NoneAssigned to: None
Originator Name: Open/Closed: Open
Release: devOperating System: Any

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Wed 24 Jun 2015 07:41:08 PM UTC, original submission:

Other than fork and exec, it is not possible to make a system while avoiding the shell. Would be nice to have this, similar to perl's system:

and python's subprocess:

The reason to avoid the shell is security. From python's own documentation

We already have a bunch of extra options for system() so I'm proposing to implement something like perl, and skip the shell if the first argument is a cell array of strings. Does that sound good?

Carnë Draug <carandraug>
Project Member


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

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by carandraug (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    No Changes Have Been Made to This Item

    Back to the top

    Powered by Savane 3.1-cleanup1