Search Results

Search: Posts Made By: hilfemir
2,314
Posted By hilfemir
thanks a lot!!!
thanks a lot!!!
2,314
Posted By hilfemir
well, your question has given me the answer as i...
well, your question has given me the answer as i used set -x to enable echo now, and the command is being executed as

sudo /home/user/public/usbreset /dev/bus/usb/001/lsusb | grep Webcam | cut...
2,314
Posted By hilfemir
uhm sorry, i meant to say that usbreset without...
uhm sorry, i meant to say that usbreset without the parameter
/dev/bus/usb/001/$foo
is being executed.
2,314
Posted By hilfemir
Beginner here, how to call a bash-script from python properly?
Hi everyone,
i have the following script.sh:

foo='lsusb | grep Webcam | cut -c16-18'
sudo /home/user/public/usbreset /dev/bus/usb/001/$foo
when i try to call this script from python using...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 07:57 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy