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

Run step Fatal Windows exception - use cmd for Windows in-built commands #824

Closed
olvd opened this issue Jun 7, 2020 · 1 comment
Closed
Labels

Comments

@olvd
Copy link

olvd commented Jun 7, 2020

When I use even the simplest command like:

run dir
echo run_result

Using TagUI v6.0.0 fails with:

Fatal Windows exception, code 0xc0000005.
PhantomJS has crashed. Please read the bug reporting guide at
<http://phantomjs.org/bug-reporting.html> and file a bug report.

I am not familiar with PhantomJS and wonder what is going on.
Thanks for you help.

@kensoh
Copy link
Member

kensoh commented Nov 24, 2020

Sorry Olivier I was away the past few months - tebelorg/RPA-Python#144

I see, the run step can only run command files and executable files that are available on the operating system.

On Windows, there is no dir.exe or dir.com or dir.bat / dir.cmd file. The dir command actually comes from the command cmd.exe. You can try the following to run the cmd command and call the dir command that's part of the cmd command.

run cmd /c dir
echo run_result

More details at this issue - #473 (comment)

Closing this issue for now but please lemme know if you have any questions.

@kensoh kensoh closed this as completed Nov 24, 2020
@kensoh kensoh added the query label Nov 24, 2020
@kensoh kensoh changed the title Run step fails with any command: Fatal Windows exception, code 0xc0000005. Run step fails with any command: Fatal Windows exception - use cmd for Windows in-built commands Nov 24, 2020
@kensoh kensoh changed the title Run step fails with any command: Fatal Windows exception - use cmd for Windows in-built commands Run step Fatal Windows exception - use cmd for Windows in-built commands Nov 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants