简体   繁体   中英

How to give .sh file read and write permission while use command “run process” in robot framework

I have a test case needed to access a .sh file. I used Run Process ${filename} ,but it threw the error OSError: [Errno 13] Permission denied . I tried to put chomod 777 before Run Process , but robot could not recognize it and robot took it as part of file path. Robot Anyone could help?

当您尝试通过Run process关键字运行外部命令时,您错过了制表符空间。

Run process chmod -R 777 yourfileName

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM