Found it, carefully looked at the pipe.py file, and found that the class Pipe has re-added the bitwise OR operator, realizing a function similar to the pipe operator in Linux sh.
Summary
Like the scapy library, the / division operator is overloaded and used as a connection operator, so pay special attention to this type of operator overloading in the future.
Found it, carefully looked at the pipe.py file, and found that the class Pipe has re-added the bitwise OR operator, realizing a function similar to the pipe operator in Linux sh.
Summary
/
division operator is overloaded and used as a connection operator, so pay special attention to this type of operator overloading in the future.