[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #47239] calling system without shell
From: |
Carnë Draug |
Subject: |
[Octave-bug-tracker] [bug #47239] calling system without shell |
Date: |
Tue, 23 Feb 2016 19:10:45 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.6.0 |
URL:
<http://savannah.gnu.org/bugs/?47239>
Summary: calling system without shell
Project: GNU Octave
Submitted by: carandraug
Submitted on: Tue Feb 23 19:10:44 2016
Category: Octave Function
Severity: 1 - Wish
Priority: 5 - Normal
Item Group: Feature Request
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
Would be nice to call system without having to worry about the shell. This is
mainly for security reasons but makes it easier not have to worry about
escaping arguments (when a regular expression is an argument it becomes very
tricky).
Perl accepts a list for this, and python's functions from the subprocess
module have a Shell=False option.
I would propose that if system is called with a cell array of strings, the
first element is the program and the rest of elements are its arguments.
Just noting down this feature request on which I would like to work on one
day.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?47239>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #47239] calling system without shell,
Carnë Draug <=