argos icon indicating copy to clipboard operation
argos copied to clipboard

Cannot use JavaScript (with node) with Argos

Open dandarie opened this issue 3 years ago • 2 comments

I have two scrips that produce the same output:

✦ ↳ ./gmail.1m.sh
Test
---
✦ ↳ ./gmail.1m.js 
Test
---
✦ ↳ diff <(./gmail.1m.sh) <(./gmail.1m.js)
✦ ↳

The JavaScript file:


#!/usr/bin/env node

console.log('Test');
console.log('---');

The bash file:

#!/bin/bash

echo 'Test'
echo '---'

However, one works, one doesn't.

image

image

dandarie avatar Oct 20 '21 18:10 dandarie

I have two scrips that produce the same output:

✦ ↳ ./gmail.1m.sh
Test
---
✦ ↳ ./gmail.1m.js 
Test
---
✦ ↳ diff <(./gmail.1m.sh) <(./gmail.1m.js)
✦ ↳

The JavaScript file:


#!/usr/bin/env node

console.log('Test');
console.log('---');

The bash file:

#!/bin/bash

echo 'Test'
echo '---'

However, one works, one doesn't.

image

image

I have the same issue, tho using process.stdout.write will probably fix

yavko avatar Mar 17 '22 06:03 yavko

Hello, I confirm the same issue even using process.stdout.write instead of console.log

lanceschi avatar Jun 06 '22 08:06 lanceschi