Different results on two Windows machines.
Use the node.js packaged exe to execute the rclone command to mount the disk, one of which maps normally, but the other does not map out of the disk, because it does generate the cache folder in the command.
Is there any difference between the environments of the two machines in this situation?
The manual execution of the abnormal machine can be mapped correctly, and the execution of the node development environment can also be mapped properly, but it cannot be properly mapped when packaged into exe.
I use the spawn () function of node.js to execute the rclone mount command.
Run the command 'rclone version' and share the full output of the command.
rclone v1.66.0
os/version: Microsoft Windows 11 Home 23H2 (64 bit)
os/kernel: 10.0.22631.3593 (x86_64)
os/type: windows
os/arch: amd64
go/version: go1.22.1
go/linking: static
go/tags: cmount
Which cloud storage system are you using? (eg Google Drive)
S3
The command you were trying to run (eg rclone copy /tmp remote:tmp)
Another proof that the rclone command is executed correctly is that I do not kill the previous rclone process (although it is not mapped to disk). If I execute the command again, I will get an error: Fatal error: failed to mount FUSE fs: mountpoint path already exists: X:
Thank you for your response. It's actually just a simple mount, but when I run the mount command with a node.js child process everything works fine, but after packing it into an exe the rclone process runs fine but doesn't map the disk.
This really has nothing to do with rclone as the execution works fine in all other cases, so I'm assuming that some difference before and after the packaging is causing the processes to execute in different environments, but it's causing me a lot of frustration.
I have observed a possible problem. Exe seems to execute rclone commands on the old cmd command line. I wonder if there will be any incompatibility with rclone?
Sorry for taking up your time!
I have the latest development. I have only one account on my computer, that is, the administrator. Everything is fine when I perform the mount manually, but I can't see the disk when I execute as an administrator, and the execution of rclone is normal.
Is there a problem with the permissions of my local account?