Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/vb.net/15.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
从PC上的VB.net应用程序激活Raspberry Pi上的Python脚本_Python_Vb.net_Network Programming_Serial Port_Raspberry Pi - Fatal编程技术网

从PC上的VB.net应用程序激活Raspberry Pi上的Python脚本

从PC上的VB.net应用程序激活Raspberry Pi上的Python脚本,python,vb.net,network-programming,serial-port,raspberry-pi,Python,Vb.net,Network Programming,Serial Port,Raspberry Pi,我有一个简单的python脚本在树莓Pi上使用WiFi连接,激活LED。很简单 是否可以使用VB.net中的一个简单按钮从连接到同一网络的另一个设备启动python脚本?提前感谢您的帮助 您需要在VB中使用系统调用,它在PC中运行以下命令: ssh user@rpi:/path/to/command.py arg1 arg2 看这个 您需要在rpi上运行ssh服务器,并可能使用密钥设置无密码ssh访问。 对于windows上的ssh,您需要cygwin或putty

我有一个简单的python脚本在树莓Pi上使用WiFi连接,激活LED。很简单


是否可以使用VB.net中的一个简单按钮从连接到同一网络的另一个设备启动python脚本?提前感谢您的帮助

您需要在VB中使用系统调用,它在PC中运行以下命令:

 ssh user@rpi:/path/to/command.py arg1 arg2
看这个

您需要在rpi上运行ssh服务器,并可能使用密钥设置无密码ssh访问。 对于windows上的ssh,您需要cygwin或putty