tcl puzzle for cygwin tcl'ers im stuck on one specific line

Jim McNamara jmcnamara10001@proton.me
Fri Aug 30 23:52:05 GMT 2024


Error in startup script: couldn't execute "docker cp "dd9b7672d98a:/home/masterblasterx1001/etack" "c:/Users/stealth_droid"": no such file or directory
    while executing
"exec $docker_command"
    (procedure "execute_docker_cp" line 11)
    invoked from within
"execute_docker_cp"
    (file "myexec.tcl" line 43)
child process exited abnormally

set docker_command "docker cp \"$container_id:$container_path\" \"$windows_path\""

the ai cant get it either!

Error in startup script: bad option "Failed to execute command: couldn't execute "docker cp "dd9b7672d98a:/home/masterblasterx1001/etack" "c:/Users/stealth_droid"": no such file or directory": must be -default, -detail, -icon, -message, -parent, -title, or -type
    while executing
"tclParseConfigSpec $w $specs "" $args"
    (procedure "::tk::MessageBox" line 24)
    invoked from within
"::tk::MessageBox {*}$args"
    (procedure "tk_messageBox" line 2)
    invoked from within
"tk_messageBox -type okcancel -type okcanceltitle "Command Execution Error" -message "Failed to execute command: $msg""
    (procedure "execute_docker_cp" line 14)
    invoked from within
"execute_docker_cp"
    (file "myexec.tcl" line 46)
child process exited abnormally
% wish myexec.tcl
X connection to localhost:0.0 broken (explicit kill or server shutdown).
child process exited abnormally
% wish myexec.tcl
X connection to localhost:0.0 broken (explicit kill or server shutdown).
child process exited abnormally

This is so crazy to me. The AI can't get it to use a path that exec $docker_commmand can understand but powershell takes what it complains about like this:  docker cp dd9b7672d98a:/home/masterblasterx1001/etack c:/Users/stealth_droid/
Successfully copied 1.54kB to c:\Users\stealth_droid

thanks if you can give me a tip.

jim



Sent with Proton Mail secure email.


More information about the Cygwin mailing list