No Windows console found. Are you running cmd.exe? #1270
Replies: 9 comments 5 replies
-
Try like this: using System.Diagnostics;
Process process = new Process();
ProcessStartInfo startInfo = new ProcessStartInfo();
startInfo.WindowStyle = ProcessWindowStyle.Hidden;
startInfo.FileName = "cmd.exe";
startInfo.Arguments = "/C lncrawl -s https://novelfull.com/i-alone-level-up.html -o "D:\" --all -f --format epub --single";
process.StartInfo = startInfo;
process.Start(); |
Beta Was this translation helpful? Give feedback.
-
It doesn't work. I need to redirect the output to my UI (RichTextox) and it doesn't work if I try to use "cmd". |
Beta Was this translation helpful? Give feedback.
-
Add |
Beta Was this translation helpful? Give feedback.
-
That did fix the error but for some reason, it's not creating the epub file. I can see that it created the json folder and downloaded the content but nothing happens in the end. This is the output I get in my "console":
|
Beta Was this translation helpful? Give feedback.
-
it is showing |
Beta Was this translation helpful? Give feedback.
-
Adding
|
Beta Was this translation helpful? Give feedback.
-
Without any error log, I don't know how to solve the issue. There was an old issue for command line encoding. #927 #882 #892 Check if this is the cause. |
Beta Was this translation helpful? Give feedback.
-
Unfortunately the Update: funny thing, when I used |
Beta Was this translation helpful? Give feedback.
-
Any update on this? Can you check the latest version? |
Beta Was this translation helpful? Give feedback.
-
I'm trying to create a GUI for lncrawl (using .NET 5) but I cam across an odd issue, when I try to run lncrawl from my UI I keep getting an error: "No Windows console found. Are you running cmd.exe?"
These are the parameters I used for my test:
lncrawl -s https://novelfull.com/i-alone-level-up.html -o "D:\" --all -f --format epub --single
Beta Was this translation helpful? Give feedback.
All reactions