hc
2024-08-16 94ba65e25ce534ec0515708c9e0835242345bc7b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env python3
"""A simple test that uses python-gobject to find the path of sh."""
from gi.repository import GLib
 
 
def main():
    sh_path = GLib.find_program_in_path('sh')
    if sh_path == "/bin/sh":
        return True
    return False
 
 
if __name__ == '__main__':
    main()