add option to execute command on server initialization (#135)
This commit is contained in:
1 parent
79b05dc365
commit
0fc14e3b2d
2 files changed
+14
No files matched your search
@@ -21,6 +21,7 @@ var (
|
||||
gHostname string
|
||||
gLastDirPath string
|
||||
gSelectionPath string
|
||||
gCommand string
|
||||
gSocketProt string
|
||||
gSocketPath string
|
||||
gLogPath string
|
||||
@@ -103,6 +104,11 @@ func main() {
|
||||
"",
|
||||
"path to the file to write selected files on open (to use as open file dialog)")
|
||||
|
||||
flag.StringVar(&gCommand,
|
||||
"command",
|
||||
"",
|
||||
"command to execute on client initialization")
|
||||
|
||||
flag.Parse()
|
||||
|
||||
gSocketProt = gDefaultSocketProt
|
||||
|
||||
Reference in new issue
Block a user