Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use sys.executable to run robot #584

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rasjani
Copy link

@rasjani rasjani commented May 22, 2024

Fixes #578

Rationale for this change:

  • one could use start-command / end-command but optional rebot call would still be executed via executable
  • automatic RobotStackTrace would not be added if start-command / end-command was used.

Optional --sysexecutable could be removed and functionality of current change be made a sole calling mechanism since existing code is already importing robot to determine version. This sort of makes assumption that pabot and robot are installed in under same python interpreter and usage of executable wrappers is purely optional ?

@rasjani rasjani force-pushed the module-based-execution branch 2 times, most recently from bb87096 to 0b3a2d8 Compare May 23, 2024 06:51
@rasjani rasjani marked this pull request as ready for review May 23, 2024 18:00
Fixes mkorpela#578

Rationale for this change:
  * one could use start-command / end-command but optional rebot call
    would still be executed via executable
  * automatic RobotStackTrace would not be added if start-command / end-command
    was used.

Optional --sysexecutable could be removed and functionality of current change
be made a sole calling mechanism since existing code is already
importing robot to determine version. This sort of makes assumption that
pabot and robot are installed in under same python interpreter and usage
of executable wrappers is purely optional ?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pabot relies on python generated executable when spawning instance of robot framework
2 participants