Status: Accepted
Owner: ----
Labels: Type-Enhancement Target-2.5 Priority-Medium

New issue 485 by pekka.klarck: New and enhanced `Run` and `Start Process` keywords
http://code.google.com/p/robotframework/issues/detail?id=485

Current `Run` and `Start Process` keywords don't handle spaces in the
command or arguments very well. We could make that work if we:

1) change the signature so that the command and arguments are given as
separate arguments, and
2) use `suprocess` (available since Python 2.5) instead of the current
`os.popen`

Radically changing the current keywords would be backwards-incompatible, so
it's probably better to implement new keywords instead. We need to discuss
do we want to add them to `OperatingSystem` or would it be a better idea to
create a new `Process` library.

The `subprocess` module makes it possible to control the environment of the
started process better than the old `popen` variants. One of the
configuration parameters allows setting the working directory. That
functionality was requested in issue 345.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

Reply via email to