Returns a command that prepends the given paths to the named path variable on the current platform.
(variable, paths)
| 526 | return variable_setting_command(variable, sep.join(paths)) |
| 527 | |
| 528 | def prepend_path_variable_command(variable, paths): |
| 529 | """ |
| 530 | Returns a command that prepends the given paths to the named path variable on |
| 531 | the current platform. |
| 532 | """ |
| 533 | return path_variable_setting_command(variable, |
| 534 | paths + os.environ.get(variable, "").split(os.pathsep)) |
| 535 | |
| 536 | def file_creation_command(): |
| 537 | """ |
nothing calls this directly
no test coverage detected