Title: Adding "--" to argment list may change the argument of the program started by `mprof run`. · Issue #388 · pythonprofilers/memory_profiler · GitHub
Open Graph Title: Adding "--" to argment list may change the argument of the program started by `mprof run`. · Issue #388 · pythonprofilers/memory_profiler
X Title: Adding "--" to argment list may change the argument of the program started by `mprof run`. · Issue #388 · pythonprofilers/memory_profiler
Description: Consider a program called test.py that may have an option -number -1. Command mprof run python test.py -number -1 will pass -number -- -1 to test.py, i.e. test.py is started by python test.py -number -- -1 It seems that the run action do...
Open Graph Description: Consider a program called test.py that may have an option -number -1. Command mprof run python test.py -number -1 will pass -number -- -1 to test.py, i.e. test.py is started by python test.py -numb...
X Description: Consider a program called test.py that may have an option -number -1. Command mprof run python test.py -number -1 will pass -number -- -1 to test.py, i.e. test.py is started by python test.py -numb...
Opengraph URL: https://github.com/pythonprofilers/memory_profiler/issues/388
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Adding \"--\" to argment list may change the argument of the program started by `mprof run`.","articleBody":"Consider a program called `test.py` that may have an option `-number -1`. Command\r\n```bash\r\nmprof run python test.py -number -1\r\n```\r\nwill pass `-number -- -1` to `test.py`, i.e. `test.py` is started by\r\n```bash\r\npython test.py -number -- -1\r\n```\r\n\r\nIt seems that the `run` action doesn't need `--` to distinguish the parameters.","author":{"url":"https://github.com/lrtfm","@type":"Person","name":"lrtfm"},"datePublished":"2023-04-03T14:06:14.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/388/memory_profiler/issues/388"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2e522cff-72b4-60f5-9358-b2a68d563105 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A32A:4DE08:12F507:1B3C65:696F9FFD |
| html-safe-nonce | 99976563fe51b49c42f9e59a57f84d18fe8fd2ae491baaf15868b42a71590553 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMzJBOjRERTA4OjEyRjUwNzoxQjNDNjU6Njk2RjlGRkQiLCJ2aXNpdG9yX2lkIjoiNzQ2OTUyNDA1NDU2MjU0NTY2MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9ffe8ebc2097d56a0780c98e647a617b6151a5627c2b4ee90f92bd9e1d40704b |
| hovercard-subject-tag | issue:1652143010 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/pythonprofilers/memory_profiler/388/issue_layout |
| twitter:image | https://opengraph.githubassets.com/af352baa6d81d3a13061b4ac79a24790ac220da3a1c4f9eec79f5db93ee363b0/pythonprofilers/memory_profiler/issues/388 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/af352baa6d81d3a13061b4ac79a24790ac220da3a1c4f9eec79f5db93ee363b0/pythonprofilers/memory_profiler/issues/388 |
| og:image:alt | Consider a program called test.py that may have an option -number -1. Command mprof run python test.py -number -1 will pass -number -- -1 to test.py, i.e. test.py is started by python test.py -numb... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | lrtfm |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0ca8d8c65612640b9a1a588b3eed68222ca723ed2d028b18fe81b28936d535eb |
| turbo-cache-control | no-preview |
| go-import | github.com/pythonprofilers/memory_profiler git https://github.com/pythonprofilers/memory_profiler.git |
| octolytics-dimension-user_id | 32906038 |
| octolytics-dimension-user_login | pythonprofilers |
| octolytics-dimension-repository_id | 2575826 |
| octolytics-dimension-repository_nwo | pythonprofilers/memory_profiler |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 2575826 |
| octolytics-dimension-repository_network_root_nwo | pythonprofilers/memory_profiler |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 95f60616ce2765d1114fe6da4af405a58c6d26d2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width