Ask coding questions

← Back to all posts
How do I setup the .replit file to run the .jar file then the
Xag803 (1)

I am trying to setup selenium to use the remote server on their documentation I need the replit file to run the server.jar and then the file. Is this possible? If it can't be done are there any alternatives?

Answered by 19wintersp (1121) [earned 5 cycles]
View Answer
19wintersp (1121)

If you want the JAR to finish before starting the Python:

run = "java -jar Server.jar; python3"

or if you want them to start at the same time:

run = "java -jar Server.jar & python3 & wait"