Status: Review
Owner: pekka.klarck
Labels: Priority-Low Target-2.8.4 Type-Enhancement

New issue 1636 by pekka.klarck: OperatingSystem: New `Append To Environment Variable` keyword
http://code.google.com/p/robotframework/issues/detail?id=1636

This issue was created by revision 2a77a2b82640.

This keyword eases setting environment variables that contain different entries separated by ';' (Windows) or ':' (elsewhere). Such environment variables include PATH, PYTHONPATH and CLASSPATH.

The keyword accepts multiple values and joins them together with the correct path separator. If the environment variable was already set, the original value is preserved in the beginning of the new value.

This keyword ought to be done (implemented, tested, and documented), but there are two things still to be considered:

1) Should separator be configurable? Could easily add **kwargs and read optional separator from there, but I'm not sure are there any use cases for it.

2) Since this the main use case is setting PATH and PATH-like environment variables, should we also change the name to `Append To PATH Environment Variable`? I doubt this would make the keyword much easier to understand, though.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to robotframework-commit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to