[SERVER-37096] Allow _runMongoProgram to run non-exe files on Windows Created: 12/Sep/18 Updated: 29/Oct/23 Resolved: 13/Dec/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Shell |
| Affects Version/s: | None |
| Fix Version/s: | 4.1.7 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Benjamin Caimano (Inactive) | Assignee: | Jonathan Ma |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Sprint: | Service Arch 2018-12-17 | ||||
| Participants: | |||||
| Linked BF Score: | 50 | ||||
| Description |
|
As of now, we change all file extensions in _runMongoProgram to ".exe" on Windows. This is used to target "mongo" and hit "mongo.exe" for instance. I believe that we should simply add an extension if there isn't already one. At time of writing, this will allow us to call batch, python, and node scripts during resmoke runs. |
| Comments |
| Comment by Githook User [ 13/Dec/18 ] |
|
Author: {'username': 'thejonathanma', 'email': 'thejonathanma@gmail.com', 'name': 'Jonathan'}Message: |
| Comment by Githook User [ 10/Dec/18 ] |
|
Author: {'name': 'Jonathan', 'email': 'thejonathanma@gmail.com', 'username': 'thejonathanma'}Message: |
| Comment by Max Hirschhorn [ 12/Sep/18 ] |
I agree. acm made a similar change to resmoke.py back in b38e019 as part of |