Hi All,
I'm trying to run shell command remotely in which i export environment variables and run command
Code:
*** Settings ***
Library SSHLibrary
*** Variables ***
${HOST} ***
${USERNAME} root
${PASSWORD} root
*** Keywords ***
Open Connection and Log In
Open Connection ${HOST}
Login ${USERNAME} ${PASSWORD}
*** Test Cases ***
Test
[Documentation]
Execute Command export LD_LIBRARY_PATH=/usr/lib64:/usr/lib64/gio/modules
Execute Command export GST_PLUGIN_PATH=/usr/lib64/gstreamer-1.0
Execute Command export GIO_EXTRA_MODULES=/usr/lib64/gio/modules
Execute Command /usr/bin64/gst-launch-1.0 v4l2src device=/dev/video0 ! autovideosink > /dev/null 2>&1 & read -t 10 || kill $!
Close All Connections
After execution, The log.html shows export commands are successful but final command "/usr/bin64/ gets failed with exit code 1.
Let me know how to run these command properly.