hi,
having the io.popen function available would nice.
Because it requires heavy workarounds for simple problems if popen is not available.
E. g. https://forum.rainmeter.net/viewtopic.php?f=99&t=9185&p=148989&hilit=popen#p148989
os.execute or calling SKIN:Bang() have drawbacks.
Also i haven't found in the docs that SKIN:Bang() makes it possible to call a specified exe or maybe I haven't found it.
It is currently September 8th, 2024, 2:06 am
[Suggestion] Lua; make io.popen available
-
- Posts: 6
- Joined: June 23rd, 2017, 10:13 am
-
- Developer
- Posts: 22715
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: [Suggestion] Lua; make io.popen available
You certainly can execute external program with Rainmeter:
You can use something like LeftMouseUpAction=["C:\MyFolder\MyApp.exe"]
You can use the RunCommand Plugin
We have looked at popen, but it is just too inherently unstable to run unknown executable programs from a child process of Rainmeter like Lua.
You can use something like LeftMouseUpAction=["C:\MyFolder\MyApp.exe"]
You can use the RunCommand Plugin
We have looked at popen, but it is just too inherently unstable to run unknown executable programs from a child process of Rainmeter like Lua.
-
- Posts: 6
- Joined: June 23rd, 2017, 10:13 am
Re: [Suggestion] Lua; make io.popen available
Thx for the reply, indeed for my purposes the RunCommand is sufficient.
Didn't really recognized it.
Didn't really recognized it.