How can this code be changed to run on Sololearn compiler? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

How can this code be changed to run on Sololearn compiler?

This code runs well on PC and opens the application you enter the name of for example it opens notepad when you enter "notepad" But it doesn't work on SL compiler. What changes should be made so that it works here as well? https://code.sololearn.com/c7dloFlRmx6O/?ref=app

25th Jun 2018, 4:32 AM
Infinity
Infinity - avatar
1 Answer
+ 2
Because Sololearn doesn't exactly have the permission to access the command prompt, I don't think it would be possible to get it fully working directly from the code playground.
25th Jun 2018, 4:58 AM
Faisal
Faisal - avatar