Relative Content

Tag Archive for node.jsvue.jselectronchild-processexecfile

Desktop application for Electron and vuejs

I have a BeginTestView.vue page that has a start testing button. Clicking this button launches an exe file with Nunit tests in C# . I want to run the exe using child_process execFile in the Vue component. I get the error Module not found: Error: Can’t resolve ‘child_process’ in With:…….
However, if you run this exe file from the main process when launching the application, everything works fine. How can I use child_process in vuejs itself?